Skip to content

Commit 604f152

Browse files
committed
fix(walltime): disable PYTHON_PERF_JIT_SUPPORT on macOS
Enabling perf JIT support on macOS produces many unresolved addresses in stack traces. Force it off until we understand why.
1 parent e814a9e commit 604f152

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/executor/helpers/env.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ pub fn get_base_injected_env(
2424
("PYTHONHASHSEED".into(), "0".into()),
2525
(
2626
"PYTHON_PERF_JIT_SUPPORT".into(),
27-
if mode == RunnerMode::Walltime {
27+
// IMPORTANT: We must not enable this, otherwise we'll have many unresolved addresses on the stack on MacOS
28+
if mode == RunnerMode::Walltime && !cfg!(target_os = "macos") {
2829
"1".into()
2930
} else {
3031
"0".into()

0 commit comments

Comments
 (0)