mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
## What changed - Default `MALLOC_CONF` to `thp:always` for Cargo child processes, including tests and `cargo run`, while preserving an explicitly set value, even if empty. - Patch `rules_rust` to request transparent huge pages for `codex-rs/` compilation with Linux GNU `rustc` on x86_64 and aarch64. Check policy on the execution worker and enable the setting only when seccomp is disabled, transparent huge pages are permitted, and no allocator, preload, or sanitizer configuration conflicts are detected. Leave the environment unchanged when policy cannot be determined. GitOrigin-RevId: 3a9b2572ec9e1f30e2f719f30c885914c165eccd
6 lines
256 B
TOML
6 lines
256 B
TOML
[env]
|
|
# Ask compatible jemalloc processes for transparent huge pages.
|
|
# Cargo passes this to all child processes, including tests and cargo run.
|
|
# An explicit MALLOC_CONF (even empty) keeps precedence.
|
|
MALLOC_CONF = { value = "thp:always", force = false }
|