Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dcdf4fb

Browse files
committed
readme tweaks
1 parent d9c441c commit dcdf4fb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ in your program, and cannot run all programs:
6565
not support networking. System API support varies between targets; if you run
6666
on Windows it is a good idea to use `--target x86_64-unknown-linux-gnu` to get
6767
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.
7171

7272
[rust]: https://www.rust-lang.org/
7373
[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
192192
snippet calls Miri in a loop with different values for the seed:
193193

194194
```
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; };
197198
done
198199
```
199200

0 commit comments

Comments
 (0)