From 74772623dbe1141763858dd6a5e444279d3ae85f Mon Sep 17 00:00:00 2001 From: zsol-openai Date: Wed, 26 Aug 2026 10:26:51 +0000 Subject: [PATCH] Stop overriding Rust debuginfo in Bazel CI (#40864) ## What changed Remove the CI-specific `-Cdebuginfo=0` flags for both target and execution Rust actions, allowing the Bazel Rust toolchain and compilation mode to select the debug-info level. GitOrigin-RevId: f785347cde2b3ad0b7814ece2ba44fd89aa823b3 --- .bazelrc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.bazelrc b/.bazelrc index 0736ecbb6e..b9473c0a16 100644 --- a/.bazelrc +++ b/.bazelrc @@ -94,10 +94,6 @@ common:ci --verbose_failures common:ci --build_metadata=REPO_URL=https://github.com/openai/codex.git common:ci --build_metadata=ROLE=CI common: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=