This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ in your program, and cannot run all programs:
65
65
not support networking. System API support varies between targets; if you run
66
66
on Windows it is a good idea to use ` --target x86_64-unknown-linux-gnu ` to get
67
67
better support.
68
- * Weak memory emulation may produce weak behaivours unobservable by compiled
69
- programs running on real hardware when ` SeqCst ` fences are used, and it cannot
70
- produce all behaviors possibly observable on real hardware.
68
+ * Weak memory emulation may [ produce weak behaivours] ( https://github.com/rust-lang/miri/issues/2301 )
69
+ unobservable by compiled programs running on real hardware when ` SeqCst ` fences are used, and it
70
+ cannot produce all behaviors possibly observable on real hardware.
71
71
72
72
[ rust ] : https://www.rust-lang.org/
73
73
[ mir ] : https://github.com/rust-lang/rfcs/blob/master/text/1211-mir.md
@@ -192,8 +192,9 @@ randomness that is used to determine allocation base addresses. The following
192
192
snippet calls Miri in a loop with different values for the seed :
193
193
194
194
` ` `
195
- for seed in $({ echo obase=16; seq 0 255; } | bc); do
196
- MIRIFLAGS=-Zmiri-seed=$seed cargo miri test || { echo "Last seed: $seed"; break; };
195
+ for SEED in $({ echo obase=16; seq 0 255; } | bc); do
196
+ echo "Trying seed: $SEED"
197
+ MIRIFLAGS=-Zmiri-seed=$SEED cargo miri test || { echo "Failing seed: $SEED"; break; };
197
198
done
198
199
` ` `
199
200
You can’t perform that action at this time.
0 commit comments