Lightweight coding agent that runs in your terminal
Rust
build: reduce Rust dev debuginfo (#18844)
Michael Bolin53cf12cd529c
diff --git a/.bazelrc b/.bazelrcindex fb6e93e58c..112c2301e2 100644--- a/.bazelrc+++ b/.bazelrc@@ -65,6 +65,10 @@ common:ci --verbose_failurescommon:ci --build_metadata=REPO_URL=https://github.com/openai/codex.gitcommon:ci --build_metadata=ROLE=CIcommon:ci --build_metadata=VISIBILITY=PUBLIC+# rules_rust derives debug level from Bazel toolchain/compilation-mode settings,+# not Cargo profiles. Keep CI Rust actions explicit and lean.+common:ci --@rules_rust//rust/settings:extra_rustc_flag=-Cdebuginfo=0+common:ci --@rules_rust//rust/settings:extra_exec_rustc_flag=-Cdebuginfo=0# Disable disk cache in CI since we have a remote one and aren't using persistent workers.common:ci --disk_cache=diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.tomlindex f4be9c1abc..b83674e591 100644--- a/codex-rs/Cargo.toml+++ b/codex-rs/Cargo.toml@@ -430,6 +430,11 @@ ignored = ["codex-v8-poc",]+[profile.dev]+# Keep line tables/backtraces while avoiding expensive full variable debug info+# across local dev builds.+debug = 1+[profile.dev-small]inherits = "dev"opt-level = 0