From 9e8f84214f88ae725f9a028f615b19546b9d789f Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 12 Sep 2024 22:27:16 +1000 Subject: refactor: cleanup unstable checks for WebGPU, FFI and FS APIs (#25586) Continuation of work in #25488. --------- Signed-off-by: Asher Gomez --- ext/webgpu/lib.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ext/webgpu') diff --git a/ext/webgpu/lib.rs b/ext/webgpu/lib.rs index df01c5ff9..df2ab323a 100644 --- a/ext/webgpu/lib.rs +++ b/ext/webgpu/lib.rs @@ -403,13 +403,6 @@ pub fn op_webgpu_request_adapter( ) -> Result { let mut state = state.borrow_mut(); - // TODO(bartlomieju): replace with `state.feature_checker.check_or_exit` - // once we phase out `check_or_exit_with_legacy_fallback` - state.feature_checker.check_or_exit_with_legacy_fallback( - UNSTABLE_FEATURE_NAME, - "navigator.gpu.requestAdapter", - ); - let backends = std::env::var("DENO_WEBGPU_BACKEND").map_or_else( |_| wgpu_types::Backends::all(), |s| wgpu_core::instance::parse_backends_from_comma_list(&s), -- cgit v1.2.3