diff options
author | snek <snek@deno.com> | 2024-07-09 10:26:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 17:26:45 +0000 |
commit | 158b4a4e029146c2614402c2d77aed9f513cf57d (patch) | |
tree | 2508347fdb1ace728b08fd95a514b24cfe166329 /cli/main.rs | |
parent | c461f8fd2e36904b3334c9705726b713712f4a69 (diff) |
fix: only use maglev in DENO_FUTURE for now (#24485)
let it bake for a bit before enabling by default
Signed-off-by: snek <snek@deno.com>
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/cli/main.rs b/cli/main.rs index f20ca17ff..3368a06fc 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -384,10 +384,14 @@ fn resolve_flags_and_init( // TODO(petamoriken): Need to check TypeScript `assert` keywords in deno_ast vec!["--no-harmony-import-assertions".to_string()] } else { - // If we're still in v1.X version we want to support import assertions. - // V8 12.6 unshipped the support by default, so force it by passing a - // flag. - vec!["--harmony-import-assertions".to_string()] + vec![ + // If we're still in v1.X version we want to support import assertions. + // V8 12.6 unshipped the support by default, so force it by passing a + // flag. + "--harmony-import-assertions".to_string(), + // Verify with DENO_FUTURE for now. + "--no-maglev".to_string(), + ] } } }; |