Treat rustc warnings as errors in CI

This commit is contained in:
Michael Vines 2018-09-20 18:51:11 -07:00 committed by Grimes
parent c0e7e43e96
commit 67f1fbab5f
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -4,6 +4,7 @@ cd "$(dirname "$0")/.."
ci/version-check.sh stable
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_() {
echo "--- $*"