add system random to stdlib: std/sysrand (#16459)

This commit is contained in:
flywind 2021-02-11 18:00:01 -06:00 • committed by GitHub
commit 18c24eb4d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 333 additions and 0 deletions

View file

@ -124,6 +124,8 @@ with other backends. see #9125. Use `-d:nimLegacyJsRound` for previous behavior.
- Deprecated `any`. See https://github.com/nim-lang/RFCs/issues/281
- Added `std/sysrand` module to get random numbers from a secure source
provided by the operating system.
- Added optional `options` argument to `copyFile`, `copyFileToDir`, and
`copyFileWithPermissions`. By default, on non-Windows OSes, symlinks are