Skip to content

Commit c9925ff

Browse files
committed
Auto merge of rust-lang#2311 - RalfJung:many-seeds, r=RalfJung
./miri many-seeds: also print the seed before we try it When using `cargo miri`, we otherwise have no way of even seeing which seed it is currently on.
2 parents f76ebd6 + 733b141 commit c9925ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

miri

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ COMMAND="$1"
5555
case "$COMMAND" in
5656
many-seeds)
5757
for SEED in $({ echo obase=16; seq 0 255; } | bc); do
58+
echo "Trying seed: $SEED"
5859
MIRIFLAGS="$MIRIFLAGS -Zmiri-seed=$SEED" $@ || { echo "Failing seed: $SEED"; break; }
5960
done
6061
exit 0

0 commit comments

Comments
 (0)