From 67f1fbab5fcd069012a966d195f004d45bda1271 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Thu, 20 Sep 2018 18:51:11 -0700 Subject: [PATCH] Treat rustc warnings as errors in CI --- ci/test-stable-perf.sh | 1 + ci/test-stable.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ci/test-stable-perf.sh b/ci/test-stable-perf.sh index 572fd3e96..55c039ff0 100755 --- a/ci/test-stable-perf.sh +++ b/ci/test-stable-perf.sh @@ -9,6 +9,7 @@ if ! ci/version-check.sh stable; then ci/version-check.sh stable fi export RUST_BACKTRACE=1 +export RUSTFLAGS="-D warnings" ./fetch-perf-libs.sh export LD_LIBRARY_PATH=$PWD/target/perf-libs:/usr/local/cuda/lib64:$LD_LIBRARY_PATH diff --git a/ci/test-stable.sh b/ci/test-stable.sh index 1ad7998c9..e2797dd91 100755 --- a/ci/test-stable.sh +++ b/ci/test-stable.sh @@ -4,6 +4,7 @@ cd "$(dirname "$0")/.." ci/version-check.sh stable export RUST_BACKTRACE=1 +export RUSTFLAGS="-D warnings" _() { echo "--- $*"