Skip to content

Rollup of 7 pull requests #118122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c703af3
Add VarDebugInfo to Stable MIR
ouz-a Nov 16, 2023
965f46b
de-structure variable and add stables
ouz-a Nov 17, 2023
0d0a417
Expand Miri's BorTag GC to a Provenance GC
saethlin Nov 18, 2023
0ec82fa
tag-gc -> provenance-gc
saethlin Nov 18, 2023
e2664eb
Reduce exposure of some items.
nnethercote Nov 16, 2023
a3bd5a0
Inline and remove `record_layout_for_printing`.
nnethercote Nov 16, 2023
9e6ee72
Alphabetize features.
nnethercote Nov 16, 2023
6b4465d
Remove i686-apple-darwin cross-testing
calebzulawski Nov 20, 2023
b991658
Test that the GC consults the extra_fn_ptr map
saethlin Nov 19, 2023
fecd3e6
Remove now deprecated target x86_64-sun-solaris.
psumbera Nov 20, 2023
9ada654
Test with -Zmiri-provenance-gc=1 on Linux
saethlin Nov 18, 2023
8a77060
Remove now unnecessary x86_64_sun_solaris.rs.
psumbera Nov 20, 2023
3c999d8
Update books
rustbot Nov 20, 2023
8cf94c9
Fix occurrences of old fn names in comment and tracing
spastorino Nov 21, 2023
f1c72cc
Rollup merge of #117972 - ouz-a:stable_debuginfo, r=celinval
compiler-errors Nov 21, 2023
4427629
Rollup merge of #118029 - saethlin:allocid-gc, r=RalfJung
compiler-errors Nov 21, 2023
3b12a59
Rollup merge of #118081 - nnethercote:rustc_ty_utils, r=compiler-errors
compiler-errors Nov 21, 2023
390743c
Rollup merge of #118083 - calebzulawski:remove-i686-apple-darwin, r=a…
compiler-errors Nov 21, 2023
369779c
Rollup merge of #118091 - psumbera:solaris-target, r=compiler-errors
compiler-errors Nov 21, 2023
026adc2
Rollup merge of #118097 - rustbot:docs-update, r=ehuss
compiler-errors Nov 21, 2023
aa69088
Rollup merge of #118115 - spastorino:fix-old-fn-names, r=compiler-errors
compiler-errors Nov 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test with -Zmiri-provenance-gc=1 on Linux
  • Loading branch information
saethlin committed Nov 20, 2023
commit 9ada6544f64fb85d9f0ffa54f1f5fa4ea3731df9
11 changes: 10 additions & 1 deletion src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ cat /tmp/toolstate/toolstates.json
python3 "$X_PY" test --stage 2 check-tools
python3 "$X_PY" test --stage 2 src/tools/clippy
python3 "$X_PY" test --stage 2 src/tools/rustfmt
python3 "$X_PY" test --stage 2 src/tools/miri

# Testing Miri is a bit more complicated.
# We set the GC interval to the shortest possible value (0 would be off) to increase the chance
# that bugs which only surface when the GC runs at a specific time are more likely to cause CI to fail.
# This significantly increases the runtime of our test suite, or we'd do this in PR CI too.
if [[ -z "${PR_CI_JOB:-}" ]]; then
MIRIFLAGS=-Zmiri-provenance-gc=1 python3 "$X_PY" test --stage 2 src/tools/miri
else
python3 "$X_PY" test --stage 2 src/tools/miri
fi
# We natively run this script on x86_64-unknown-linux-gnu and x86_64-pc-windows-msvc.
# Also cover some other targets via cross-testing, in particular all tier 1 targets.
export BOOTSTRAP_SKIP_TARGET_SANITY=1 # we don't need `cc` for these targets
Expand Down
4 changes: 3 additions & 1 deletion src/tools/miri/tests/pass/0weak_memory_consistency.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//@compile-flags: -Zmiri-ignore-leaks -Zmiri-disable-stacked-borrows
//@compile-flags: -Zmiri-ignore-leaks -Zmiri-disable-stacked-borrows -Zmiri-provenance-gc=10000
// This test's runtime explodes if the GC interval is set to 1 (which we do in CI), so we
// override it internally back to the default frequency.

// The following tests check whether our weak memory emulation produces
// any inconsistent execution outcomes
Expand Down