From 2f305c0c8903e0d8ffe3ebb0f2a13a53acc2d5ce Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sun, 11 Aug 2024 19:11:47 -0500 Subject: [PATCH] Update run.sh --- ci/run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ci/run.sh b/ci/run.sh index f801c223..6cf37ad5 100755 --- a/ci/run.sh +++ b/ci/run.sh @@ -20,9 +20,7 @@ if [ "${USING_CONTAINER_RUSTC:-}" = 1 ]; then fi # Make all linker warnings errors -if [[ "$target" == *"-apple-"* ]]; then - extra_rustflags=" -Clink-arg=-Wl,--fatal_warnings" -elif [[ "$target" == "thumb"* ]]; then +if [[ "$target" == *"-apple-"* || "$target" == "thumb"* ]]; then extra_rustflags="" else extra_rustflags=" -Clink-arg=--fatal-warnings"