From b89d71090dec3f18dfa949219620b597db32bd2a Mon Sep 17 00:00:00 2001 From: Nyannyacha Date: Tue, 20 Feb 2024 05:08:18 +0000 Subject: [PATCH] fix: calling `core.setBuildInfo` is necessary (cherry picked from commit 4434ebd9632075551921fb6700c869ff83f7286d) --- crates/sb_core/js/bootstrap.js | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/sb_core/js/bootstrap.js b/crates/sb_core/js/bootstrap.js index 000507ff..ade871ff 100644 --- a/crates/sb_core/js/bootstrap.js +++ b/crates/sb_core/js/bootstrap.js @@ -267,6 +267,7 @@ function runtimeStart(runtimeOptions, source) { ops.op_set_format_exception_callback(formatException); setBuildInfo(runtimeOptions.target); + core.setBuildInfo(runtimeOptions.target); // deno-lint-ignore prefer-primordials Error.prepareStackTrace = core.prepareStackTrace;