From c688ecf4680b18734690159de7ba1ebf0c7e4026 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 26 Jan 2025 07:11:43 -0700 Subject: [PATCH] prevent weird macOS linker errors from breaking the build --- src/tools/miri/ci/ci.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tools/miri/ci/ci.sh b/src/tools/miri/ci/ci.sh index 5583030b490a..fb3fc621565e 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 .) +export RUSTFLAGS="-D warnings -A linker-messages" export CARGO_INCREMENTAL=0 export CARGO_EXTRA_FLAGS="--locked"