diff --git a/packages/bun-internal-test/src/runner.node.mjs b/packages/bun-internal-test/src/runner.node.mjs index 65330b07e07a6c..d6d76d3205345c 100644 --- a/packages/bun-internal-test/src/runner.node.mjs +++ b/packages/bun-internal-test/src/runner.node.mjs @@ -239,7 +239,7 @@ Starting "${testFileName}" GITHUB_ACTIONS: process.env.GITHUB_ACTIONS ?? "true", BUN_DEBUG_QUIET_LOGS: "1", BUN_INSTALL_CACHE_DIR: join(TMPDIR, ".bun-install-cache"), - BUN_ENABLE_CRASH_REPORTING: "1", + BUN_ENABLE_CRASH_REPORTING: "0", [windows ? "TEMP" : "TMPDIR"]: TMPDIR, }, }); diff --git a/scripts/env.ps1 b/scripts/env.ps1 index 406c1681693c5b..472065da119d58 100755 --- a/scripts/env.ps1 +++ b/scripts/env.ps1 @@ -48,7 +48,7 @@ $CC = "clang-cl" $CXX = "clang-cl" $CFLAGS = '/O2 /Z7 /MT /O2 /Ob2 /DNDEBUG /U_DLL' -$CXXFLAGS = '/O2 /Z7 /MT /O2 /Ob2 /DNDEBUG /U_DLL' +$CXXFLAGS = '/O2 /Z7 /MT /O2 /Ob2 /DNDEBUG /U_DLL -Xclang -fno-c++-static-destructors ' if ($Lto) { $CXXFLAGS += " -fuse-ld=lld -flto -Xclang -emit-llvm-bc" diff --git a/scripts/runner.node.mjs b/scripts/runner.node.mjs index 711513436c318f..282de4abeafb37 100755 --- a/scripts/runner.node.mjs +++ b/scripts/runner.node.mjs @@ -436,7 +436,7 @@ async function spawnBun(execPath, { args, cwd, timeout, env, stdout, stderr }) { BUN_FEATURE_FLAG_INTERNAL_FOR_TESTING: "1", BUN_DEBUG_QUIET_LOGS: "1", BUN_GARBAGE_COLLECTOR_LEVEL: "1", - BUN_ENABLE_CRASH_REPORTING: "1", + BUN_ENABLE_CRASH_REPORTING: "0", // change this to '1' if https://github.com/oven-sh/bun/issues/13012 is implemented BUN_RUNTIME_TRANSPILER_CACHE_PATH: "0", BUN_INSTALL_CACHE_DIR: tmpdirPath, SHELLOPTS: isWindows ? "igncr" : undefined, // ignore "\r" on Windows