Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Add a Cargo build profile for benchmarking (#21574)

Zanie Blue27ec488ad599
diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml
index f824964b01..6bda741c9c 100644
--- a/codex-rs/Cargo.toml
+++ b/codex-rs/Cargo.toml
@@ -493,6 +493,12 @@ strip = "symbols"
# See https://github.com/openai/codex/issues/1411 for details.
codegen-units = 1
+[profile.profiling]
+inherits = "release"
+debug = "full"
+lto = false
+strip = false
+
[profile.ci-test]
# Reduce binary size to reduce disk pressure.
debug = "limited"