We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee92690 commit 902278bCopy full SHA for 902278b
ci/run.sh
@@ -19,6 +19,15 @@ if [ "${USING_CONTAINER_RUSTC:-}" = 1 ]; then
19
rustup target add "$target"
20
fi
21
22
+# Make all linker warnings errors
23
+if [[ "$target" == *"-apple-"* || "$target" == "thumb"* ]]; then
24
+ extra_rustflags=""
25
+else
26
+ extra_rustflags=" -Clink-arg=-Wl,--fatal-warnings"
27
+fi
28
+
29
+export RUSTFLAGS="${RUSTFLAGS:-}$extra_rustflags"
30
31
# Test our implementation
32
if [ "${NO_STD:-}" = "1" ]; then
33
echo "nothing to do for no_std"
0 commit comments