Skip to content

Commit 6ef7c08

Browse files
committed
deny warnings on CI
1 parent 868da2a commit 6ef7c08

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

miri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545
# We set the rpath so that Miri finds the private rustc libraries it needs.
4646
# We enable debug-assertions to get tracing.
4747
# We enable line-only debuginfo for backtraces.
48-
export RUSTFLAGS="-C link-args=-Wl,-rpath,$LIBDIR -C debug-assertions -C debuginfo=1"
48+
export RUSTFLAGS="-C link-args=-Wl,-rpath,$LIBDIR -C debug-assertions -C debuginfo=1 $RUSTC_EXTRA_FLAGS"
4949

5050
## Helper functions
5151

travis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ else
88
FOREIGN_TARGET=i686-unknown-linux-gnu
99
fi
1010
export CARGO_EXTRA_FLAGS="--all-features"
11+
export RUSTC_EXTRA_FLAGS="-D warnings"
1112

1213
# Prepare
1314
echo "Build and install miri"

0 commit comments

Comments
 (0)