From 5c54dc5840e26410e364619b73b4721ce1815cef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 1 Aug 2024 23:15:20 +0100 Subject: fix: regressions around Error.prepareStackTrace (#24839) Includes: - https://github.com/denoland/deno_core/pull/858 - https://github.com/denoland/deno_core/pull/856 Fixes https://github.com/denoland/deno/issues/24782 Fixes https://github.com/denoland/deno/issues/24825 --- cli/standalone/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/standalone') diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs index afacacc1f..935e034df 100644 --- a/cli/standalone/mod.rs +++ b/cli/standalone/mod.rs @@ -728,7 +728,7 @@ pub async fn run( // Initialize v8 once from the main thread. v8_set_flags(construct_v8_flags(&[], &metadata.v8_flags, vec![])); - deno_core::JsRuntime::init_platform(None); + deno_core::JsRuntime::init_platform(None, true); let mut worker = worker_factory .create_main_worker(WorkerExecutionMode::Run, main_module, permissions) -- cgit v1.2.3