Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Use descriptive names for Cargo profile options (#21582)

Zanie Blue8367ef4522c8
diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml
index cf2332a276..f824964b01 100644
--- a/codex-rs/Cargo.toml
+++ b/codex-rs/Cargo.toml
@@ -475,13 +475,13 @@ ignored = [
[profile.dev]
# Keep line tables/backtraces while avoiding expensive full variable debug info
# across local dev builds.
-debug = 1
+debug = "limited"
[profile.dev-small]
inherits = "dev"
opt-level = 0
-debug = 0
-strip = true
+debug = "none"
+strip = "symbols"
[profile.release]
lto = "fat"
@@ -494,7 +494,8 @@ strip = "symbols"
codegen-units = 1
[profile.ci-test]
-debug = 1 # Reduce debug symbol size
+# Reduce binary size to reduce disk pressure.
+debug = "limited"
inherits = "test"
opt-level = 0