Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: build with `codegen-units = 1` for profile.release (#1421)

Michael Bolin1b7c8d2569ec
diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml
index f93cbbaa37..eba43e548b 100644
--- a/codex-rs/Cargo.toml
+++ b/codex-rs/Cargo.toml
@@ -37,3 +37,6 @@ lto = "fat"
# Because we bundle some of these executables with the TypeScript CLI, we
# remove everything to make the binary as small as possible.
strip = "symbols"
+
+# See https://github.com/openai/codex/issues/1411 for details.
+codegen-units = 1