Skip to content

Commit 98b7dc0

Browse files
authored
Make all linker warnings errors
1 parent 6e31045 commit 98b7dc0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/run.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ target="${1:-}"
66

77
export RUST_BACKTRACE="${RUST_BACKTRACE:-full}"
88

9+
# Make all linker warnings an error
10+
export RUSTFLAGS="${RUSTFLAGS:-} -Clink-arg=-Wl,--fatal-warnings"
11+
912
if [ -z "$target" ]; then
1013
host_target=$(rustc -vV | awk '/^host/ { print $2 }')
1114
echo "Defaulted to host target $host_target"

0 commit comments

Comments
 (0)