summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-11-05 14:27:36 -0700
committerGitHub <noreply@github.com>2023-11-05 14:27:36 -0700
commit485fade0b6910e29557c6627d37985b47735bf8e (patch)
tree0f6c97c135c8a92226caecb363effe7eabf47936 /cli/main.rs
parent4530cd5f0d5e6acdbbb11a60eac711d47f274d3f (diff)
chore: migrate to new deno_core and metrics (#21057)
- Uses the new OpMetrics system for sync and async calls - Partial revert of #21048 as we moved Array.fromAsync upstream to deno_core
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 80fe59005..18b0fe827 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -367,8 +367,7 @@ 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()],
- // TODO(bartlomieju): upstream this to `deno_core` crate
- _ => vec!["--harmony-array-from-async".to_string()],
+ _ => vec![],
};
init_v8_flags(&default_v8_flags, &flags.v8_flags, get_v8_flags_from_env());
deno_core::JsRuntime::init_platform(None);