Skip to content

Commit 8c7d086

Browse files
authored
Merge pull request #66 from RalfJung/rustup
rustup
2 parents b9c97d8 + cafb657 commit 8c7d086

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

run-test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ cp "$MIRI_LIB_SRC/../Cargo.lock" Cargo.lock
3939
# is just a re-export of the sysroot crate, so we don't get duplicate lang items.
4040
export MIRI_REPLACE_LIBRS_IF_NOT_TEST=1
4141

42+
# core and std contain some modules that are also crates, so the feature flags are a bit all over
43+
# the place and we disable feature flag checking. (This matches what bootstrap does.)
44+
export RUSTFLAGS="--check-cfg=cfg(feature,values(any())) ${RUSTFLAGS:-}"
45+
export RUSTDOCFLAGS="--check-cfg=cfg(feature,values(any())) ${RUSTDOCFLAGS:-}"
46+
4247
# run test
4348
export CARGO_TARGET_DIR=$(pwd)/target
4449
cargo miri test --manifest-path "library/$CRATE/Cargo.toml" "$@"

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2024-05-01
1+
nightly-2024-05-05

0 commit comments

Comments
 (0)