diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml index dab5e82855e8..65344509f4f8 100644 --- a/codex-rs/Cargo.toml +++ b/codex-rs/Cargo.toml @@ -514,8 +514,8 @@ split-debuginfo = "off" # sidecar symbols and stripped the binaries. strip = false -# See https://github.com/openai/codex/issues/1411 for details. -codegen-units = 1 +# Balance parallel release code generation against binary size. +codegen-units = 4 [profile.profiling] inherits = "release"