mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-17 17:33:07 +00:00
just respect existing RUSTFLAGS instead of providing another override
This commit is contained in:
parent
0790f75ae4
commit
b71fea710c
2
ci.sh
2
ci.sh
@ -4,7 +4,7 @@ set -euo pipefail
|
||||
# Determine configuration
|
||||
export RUST_TEST_NOCAPTURE=1
|
||||
export RUST_BACKTRACE=1
|
||||
export RUSTC_EXTRA_FLAGS="-D warnings"
|
||||
export RUSTFLAGS="-D warnings"
|
||||
export CARGO_INCREMENTAL=0
|
||||
export CARGO_EXTRA_FLAGS="--all-features"
|
||||
|
||||
|
8
miri
8
miri
@ -45,14 +45,14 @@ if ! test -d "$LIBDIR"; then
|
||||
echo "Please report a bug at https://github.com/rust-lang/miri/issues."
|
||||
exit 2
|
||||
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 $RUSTC_EXTRA_FLAGS"
|
||||
if [ -z "$CARGO_INCREMENTAL" ]; then
|
||||
# Default CARGO_INCREMENTAL to 1.
|
||||
export CARGO_INCREMENTAL=1
|
||||
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 $RUSTFLAGS"
|
||||
|
||||
## Helper functions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user