We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a121a80 commit 7319fdbCopy full SHA for 7319fdb
ci/run.sh
@@ -25,6 +25,15 @@ if [ "${USING_CONTAINER_RUSTC:-}" = 1 ]; then
25
rustup target add "$target"
26
fi
27
28
+# Make all linker warnings errors
29
+if [[ "$target" == *"-apple-"* || "$target" == "thumb"* ]]; then
30
+ extra_rustflags=""
31
+else
32
+ extra_rustflags=" -Clink-arg=-Wl,--fatal-warnings"
33
+fi
34
+
35
+export RUSTFLAGS="${RUSTFLAGS:-}$extra_rustflags"
36
37
# Test our implementation
38
if [ "${BUILD_ONLY:-}" = "1" ]; then
39
echo "no tests to run for build-only targets"
0 commit comments