prevent weird macOS linker errors from breaking the build

This commit is contained in:
Ralf Jung 2025-01-26 07:11:43 -07:00
parent 06db6bba3b
commit c688ecf468

View file

@ -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"