diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml index ec38a87cff..ce2652924d 100644 --- a/codex-rs/Cargo.toml +++ b/codex-rs/Cargo.toml @@ -490,7 +490,8 @@ debug = "none" strip = "symbols" [profile.release] -lto = "fat" +opt-level = "z" +lto = "thin" split-debuginfo = "off" # Because we bundle some of these executables with the TypeScript CLI, we # remove everything to make the binary as small as possible.