2 ms·
So, at first, it will compile, but fail: https://github.com/rust-lang-nursery/rand/pull/197 https://github.com/rust-lang-nursery/rand/pull/197 Then, two weeks
by steveklabnik 9y ago
So, at first, it will compile, but fail: https://github.com/rust-lang-nursery/rand/pull/197 https://github.com/rust-lang-nursery/rand/pull/197
Then, two weeks ago https://github.com/rust-lang-nursery/rand/pull/272 https://github.com/rust-lang-nursery/rand/pull/272
> Would anything that depended on that need to use a random function from js instead?
Your instinct is right, that's what the above does. (more specifically, with https://developer.mozilla.org/en-US/docs/Web/API/RandomSource/getRandomValues https://developer.mozilla.org/en-US/docs/Web/API/RandomSourc... )