File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euo pipefail
4
4
# Determine configuration
5
5
export RUST_TEST_NOCAPTURE=1
6
6
export RUST_BACKTRACE=1
7
- export RUSTC_EXTRA_FLAGS =" -D warnings"
7
+ export RUSTFLAGS =" -D warnings"
8
8
export CARGO_INCREMENTAL=0
9
9
export CARGO_EXTRA_FLAGS=" --all-features"
10
10
Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ if ! test -d "$LIBDIR"; then
45
45
echo " Please report a bug at https://github.com/rust-lang/miri/issues."
46
46
exit 2
47
47
fi
48
- # We set the rpath so that Miri finds the private rustc libraries it needs.
49
- # We enable debug-assertions to get tracing.
50
- # We enable line-only debuginfo for backtraces.
51
- export RUSTFLAGS=" -C link-args=-Wl,-rpath,$LIBDIR -C debug-assertions -C debuginfo=1 $RUSTC_EXTRA_FLAGS "
52
48
if [ -z " $CARGO_INCREMENTAL " ]; then
53
49
# Default CARGO_INCREMENTAL to 1.
54
50
export CARGO_INCREMENTAL=1
55
51
fi
52
+ # We set the rpath so that Miri finds the private rustc libraries it needs.
53
+ # We enable debug-assertions to get tracing.
54
+ # We enable line-only debuginfo for backtraces.
55
+ export RUSTFLAGS=" -C link-args=-Wl,-rpath,$LIBDIR -C debug-assertions -C debuginfo=1 $RUSTFLAGS "
56
56
57
57
# # Helper functions
58
58
You can’t perform that action at this time.
0 commit comments