I’ve noticed the mojo binary does not work inside the default sandbox used by Codex CLI on macOS. It crashes inside the Crashpad reporter initialization. This is a big pain point for doing LLM agent-driven Mojo development.
Is there a workaround available to disable crash reporting?
Problem:
Mojo will crash if asked to compile or format a program without being able to read the L1d and L2 cache size. This prevents running the Mojo compiler inside Codex on macOS with the default security settings.
This change allows Mojo to run inside the Codex sandbox without requiring user prompts for each compiler invocation. LLM-driven Mojo development is now much more convenient.
You have to add these lines to ~/.codex/config.toml: