mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
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>
This commit is contained in:
parent
c461f8fd2e
commit
158b4a4e02
1 changed files with 8 additions and 4 deletions
12
cli/main.rs
12
cli/main.rs
|
@ -384,10 +384,14 @@ fn resolve_flags_and_init(
|
||||||
// TODO(petamoriken): Need to check TypeScript `assert` keywords in deno_ast
|
// TODO(petamoriken): Need to check TypeScript `assert` keywords in deno_ast
|
||||||
vec!["--no-harmony-import-assertions".to_string()]
|
vec!["--no-harmony-import-assertions".to_string()]
|
||||||
} else {
|
} else {
|
||||||
// If we're still in v1.X version we want to support import assertions.
|
vec![
|
||||||
// V8 12.6 unshipped the support by default, so force it by passing a
|
// If we're still in v1.X version we want to support import assertions.
|
||||||
// flag.
|
// V8 12.6 unshipped the support by default, so force it by passing a
|
||||||
vec!["--harmony-import-assertions".to_string()]
|
// flag.
|
||||||
|
"--harmony-import-assertions".to_string(),
|
||||||
|
// Verify with DENO_FUTURE for now.
|
||||||
|
"--no-maglev".to_string(),
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue