print chosen seed when building with -seed=random
The seedFlag.random field had never worked, as my refactor in December 2021 never set it to true. Even if the boolean was working, we only printed the random seed when we failed. It's still useful to see it when a build succeeds, for example when wanting to reproduce the same binary or when wanting to reverse a panic from the produced binary. Add a test this time. Fixes #696.pull/714/head
parent
a186419d3d
commit
d1da066120
Loading…
Reference in New Issue