deny warnings on CI

This commit is contained in:
Ralf Jung 2019-08-15 11:14:45 +02:00
parent 868da2a139
commit 6ef7c0886c
2 changed files with 2 additions and 1 deletions

2
miri
View File

@ -45,7 +45,7 @@ fi
# We set the rpath so that Miri finds the private rustc libraries it needs.
# We enable debug-assertions to get tracing.
# We enable line-only debuginfo for backtraces.
export RUSTFLAGS="-C link-args=-Wl,-rpath,$LIBDIR -C debug-assertions -C debuginfo=1"
export RUSTFLAGS="-C link-args=-Wl,-rpath,$LIBDIR -C debug-assertions -C debuginfo=1 $RUSTC_EXTRA_FLAGS"
## Helper functions

View File

@ -8,6 +8,7 @@ else
FOREIGN_TARGET=i686-unknown-linux-gnu
fi
export CARGO_EXTRA_FLAGS="--all-features"
export RUSTC_EXTRA_FLAGS="-D warnings"
# Prepare
echo "Build and install miri"