Skip to content

Commit c688ecf

Browse files
committed
prevent weird macOS linker errors from breaking the build
1 parent 06db6bb commit c688ecf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tools/miri/ci/ci.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ function endgroup {
1414
begingroup "Building Miri"
1515

1616
# Global configuration
17-
export RUSTFLAGS="-D warnings"
17+
# We are getting some odd linker warnings on macOS, make sure they do not fail the build.
18+
# (See <https://github.com/rust-lang/rust/issues/136086>.)
19+
export RUSTFLAGS="-D warnings -A linker-messages"
1820
export CARGO_INCREMENTAL=0
1921
export CARGO_EXTRA_FLAGS="--locked"
2022

0 commit comments

Comments
 (0)