about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-01-26 07:11:43 -0700
committerRalf Jung <post@ralfj.de>2025-01-26 07:11:43 -0700
commitc688ecf4680b18734690159de7ba1ebf0c7e4026 (patch)
tree8db5894ece32ab3228cf11299b855c55cc1ce76e
parent06db6bba3b6f9853d692cc20ade7fbc121e27573 (diff)
prevent weird macOS linker errors from breaking the build
-rwxr-xr-xsrc/tools/miri/ci/ci.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/miri/ci/ci.sh b/src/tools/miri/ci/ci.sh
index 5583030b490..fb3fc621565 100755
--- a/src/tools/miri/ci/ci.sh
+++ b/src/tools/miri/ci/ci.sh
@@ -14,7 +14,9 @@ function endgroup {
 begingroup "Building Miri"
 
 # Global configuration
-export RUSTFLAGS="-D warnings"
+# We are getting some odd linker warnings on macOS, make sure they do not fail the build.
+# (See <https://github.com/rust-lang/rust/issues/136086>.)
+export RUSTFLAGS="-D warnings -A linker-messages"
 export CARGO_INCREMENTAL=0
 export CARGO_EXTRA_FLAGS="--locked"