From 0a21f01ea753988d2e0c6fd768b38000061fdea4 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Mon, 30 Sep 2024 16:32:52 -0700 Subject: [PATCH] Add RUSTFLAGS=-Awarnings to runtests.sh If there are warnings in the crate build, we should avoid them while running each individual test, otherwise we get nonstop warnings. Signed-off-by: Alek Ratzloff --- runtests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtests.sh b/runtests.sh index aab19df..06a00a1 100755 --- a/runtests.sh +++ b/runtests.sh @@ -10,6 +10,9 @@ here="$(realpath "$(dirname "$0")")" tests="$here/tests" flags="--quiet --release" +# Disable warnings while running tests +export RUSTFLAGS=-Awarnings + echo "building" cargo build $flags || die "build failed"