diff options
author | Tomohiro <gpuppur@gmail.com> | 2021-09-02 21:12:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 14:12:14 +0200 |
commit | 7c8ea490a2be36d171d362c43212195ea8ce489f (patch) | |
tree | 0c3a54a233e999ddf008ddbe99c4ca6311cded40 /compiler/optimizer.nim | |
parent | e0ef859130f429df1891e31a85955daa753346b4 (diff) | |
download | Nim-7c8ea490a2be36d171d362c43212195ea8ce489f.tar.gz |
Fix initrand to avoid random number sequences overlapping (#18744)
* Fix initrand to avoid random number sequences overlapping * Minor fix * Fix compile error on js backend * Disable new test for js backend * Minor fix * tempfiles module uses random.initRand() * Remove unused module import from lib/std/tempfiles.nim * Initialize baseState in initRand() * Run tests/stdlib/trandom.nim from tests/test_nimscript.nims * baseState is initialized only with sysrand.urandom and quit if failed * Add comments
Diffstat (limited to 'compiler/optimizer.nim')
0 files changed, 0 insertions, 0 deletions