Skip to content

Commit b8588ce

Browse files
sayrerclaude
andcommitted
Use rules_rust extra_rustc_flag instead of RUSTFLAGS for linker fix.
RUSTFLAGS is a Cargo convention not read by rustc directly. Use the rules_rust setting which injects the flag into the actual rustc command line, including for the bootstrap process_wrapper. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5898426 commit b8588ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ build:ci-linux --extra_execution_platforms=//tools:linux_remote
2929
build:ci-linux --host_platform=//tools:linux_remote
3030
build:ci-linux --jobs=50
3131
# Rust 1.86+ defaults to rust-lld on linux-x86_64; disable for remote execution
32-
build:ci-linux --action_env=RUSTFLAGS=-Clink-self-contained=no
32+
build:ci-linux --@rules_rust//rust/settings:extra_rustc_flag=-Clink-self-contained=no
3333
build:ci-linux --remote_executor=grpcs://remote.buildbuddy.io
3434
build:ci-linux --remote_default_exec_properties=container-image=docker://ghcr.io/sayrer/twitter-text-build@sha256:5af27112f67cf17164eb8f762328df9777faf026bf80aa3c8002282eb0aa95a9
3535

0 commit comments

Comments
 (0)