Skip to content

Commit 308ea7f

Browse files
authored
Merge pull request #64 from eduardosm/set-env
stdarch test: set STDARCH_TEST_EVERYTHING without leaking the whole host environment into the interpreted program
2 parents 3d57428 + eb1d4de commit 308ea7f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

run-stdarch-test.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ esac
3636
export RUSTFLAGS="${RUSTFLAGS:-} $TARGET_RUSTFLAGS -Ainternal_features"
3737

3838
# Make sure all tested target features are enabled
39-
export STDARCH_TEST_EVERYTHING=1
40-
# Needed to pass the STDARCH_TEST_EVERYTHING environment variable
41-
export MIRIFLAGS="${MIRIFLAGS:-} -Zmiri-disable-isolation"
39+
export MIRIFLAGS="${MIRIFLAGS:-} -Zmiri-env-set=STDARCH_TEST_EVERYTHING=1"
4240

4341
# Set library source dir
4442
export MIRI_LIB_SRC=${MIRI_LIB_SRC:-$(rustc --print sysroot)/lib/rustlib/src/rust/library}

0 commit comments

Comments
 (0)