summaryrefslogtreecommitdiff
path: root/runtime/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-03 10:11:41 +0100
committerGitHub <noreply@github.com>2024-09-03 11:11:41 +0200
commitb9b4b0dd672ba73b81ad9cbc381511b311a5aae0 (patch)
treed85276e2db91905b405c37b3c378acf630545cd7 /runtime/lib.rs
parent90338eff8d38f6ff56becc4653c98861e6fabd6b (diff)
feat: hide several --unstable-* flags (#25378)
This commit hides following unstable flags: - `--unstable-ffi` (the API is now stable) - `--unstable-webgpu` (this API is now stable) - `--unstable-fs` (no more unstable APIs) - `--unstable-byonm` (BYONM is on by default) The flags are still parseable, but they are not used. Concrete cleanup will be done in a follow up PR.
Diffstat (limited to 'runtime/lib.rs')
-rw-r--r--runtime/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lib.rs b/runtime/lib.rs
index 083acf657..daa55f773 100644
--- a/runtime/lib.rs
+++ b/runtime/lib.rs
@@ -72,13 +72,13 @@ pub static UNSTABLE_GRANULAR_FLAGS: &[UnstableGranularFlag] = &[
UnstableGranularFlag {
name: deno_ffi::UNSTABLE_FEATURE_NAME,
help_text: "Enable unstable FFI APIs",
- show_in_help: true,
+ show_in_help: false,
id: 3,
},
UnstableGranularFlag {
name: deno_fs::UNSTABLE_FEATURE_NAME,
help_text: "Enable unstable file system APIs",
- show_in_help: true,
+ show_in_help: false,
id: 4,
},
UnstableGranularFlag {
@@ -123,7 +123,7 @@ pub static UNSTABLE_GRANULAR_FLAGS: &[UnstableGranularFlag] = &[
UnstableGranularFlag {
name: deno_webgpu::UNSTABLE_FEATURE_NAME,
help_text: "Enable unstable `WebGPU` API",
- show_in_help: true,
+ show_in_help: false,
id: 11,
},
UnstableGranularFlag {