diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/args/mod.rs | 12 | ||||
-rw-r--r-- | cli/tsc/99_main_compiler.js | 6 |
2 files changed, 0 insertions, 18 deletions
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> = diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index 03729b892..42bf1055f 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -36,17 +36,11 @@ delete Object.prototype.__proto__; "Kv", "KvListIterator", "KvU64", - "UnsafeCallback", - "UnsafePointer", - "UnsafePointerView", - "UnsafeFnPointer", "UnixConnectOptions", "UnixListenOptions", - "dlopen", "listen", "listenDatagram", "openKv", - "umask", ]); const unstableMsgSuggestion = "If not, try changing the 'lib' compiler option to include 'deno.unstable' " + |