We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9c97d8 + cafb657 commit 8c7d086Copy full SHA for 8c7d086
run-test.sh
@@ -39,6 +39,11 @@ cp "$MIRI_LIB_SRC/../Cargo.lock" Cargo.lock
39
# is just a re-export of the sysroot crate, so we don't get duplicate lang items.
40
export MIRI_REPLACE_LIBRS_IF_NOT_TEST=1
41
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
+
47
# run test
48
export CARGO_TARGET_DIR=$(pwd)/target
49
cargo miri test --manifest-path "library/$CRATE/Cargo.toml" "$@"
rust-version
@@ -1 +1 @@
1
-nightly-2024-05-01
+nightly-2024-05-05
0 commit comments