diff --git a/ci/run.sh b/ci/run.sh index 6cf37ad5c..91f2d0970 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -23,7 +23,7 @@ fi if [[ "$target" == *"-apple-"* || "$target" == "thumb"* ]]; then extra_rustflags="" else - extra_rustflags=" -Clink-arg=--fatal-warnings" + extra_rustflags=" -Clink-arg=-Wl,--fatal-warnings" fi export RUSTFLAGS="${RUSTFLAGS:-}$extra_rustflags"