Skip to content

Commit f46e192

Browse files
committed
Test with -Zmiri-provenance-gc=1 on Linux
1 parent 81cb74b commit f46e192

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/pass/0weak_memory_consistency.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
//@compile-flags: -Zmiri-ignore-leaks -Zmiri-disable-stacked-borrows
1+
//@compile-flags: -Zmiri-ignore-leaks -Zmiri-disable-stacked-borrows -Zmiri-provenance-gc=10000
2+
// This test's runtime explodes if the GC interval is set to 1 (which we do in CI), so we
3+
// override it internally back to the default frequency.
24

35
// The following tests check whether our weak memory emulation produces
46
// any inconsistent execution outcomes

0 commit comments

Comments
 (0)