diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-11-01 23:25:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 22:25:18 +0000 |
commit | ab72019a17ccc077384c37eaeae15fffc9ce4d92 (patch) | |
tree | 9817bf313e25bdd8d318fb58b3e366f14d252858 /cli/main.rs | |
parent | 24c3c9695865bb478f5651da4982b7e0a34afc72 (diff) |
feat: enable Array.fromAsync (#21048)
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs index 24b964169..c6249a21f 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -368,7 +368,8 @@ pub fn main() { // Using same default as VSCode: // https://github.com/microsoft/vscode/blob/48d4ba271686e8072fc6674137415bc80d936bc7/extensions/typescript-language-features/src/configuration/configuration.ts#L213-L214 DenoSubcommand::Lsp => vec!["--max-old-space-size=3072".to_string()], - _ => vec![], + // TODO(bartlomieju): upstream this to `deno_core` crate + _ => vec!["--harmony-array-from-async".to_string()], }; init_v8_flags(&default_v8_flags, &flags.v8_flags, get_v8_flags_from_env()); deno_core::JsRuntime::init_platform(None); |