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 --- cli/args/mod.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'cli/args') diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 203ceec50..7d885295e 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -1596,18 +1596,6 @@ impl CliOptions { } }); - // TODO(2.0): remove this code and enable these features in `99_main.js` by default. - let future_features = [ - deno_runtime::deno_ffi::UNSTABLE_FEATURE_NAME.to_string(), - deno_runtime::deno_fs::UNSTABLE_FEATURE_NAME.to_string(), - deno_runtime::deno_webgpu::UNSTABLE_FEATURE_NAME.to_string(), - ]; - future_features.iter().for_each(|future_feature| { - if !from_config_file.contains(future_feature) { - from_config_file.push(future_feature.to_string()); - } - }); - if !from_config_file.is_empty() { // collect unstable granular flags let mut all_valid_unstable_flags: Vec<&str> = -- cgit v1.2.3