smol-rs / fastrand

A simple and fast random number generator
Apache License 2.0
386 stars 33 forks source link

Add choose_multple function for choosing several values #55

Closed notgull closed 1 year ago

notgull commented 1 year ago

Builds on #29 for the new changes.

notgull commented 1 year ago

I'm not sure why the WASI test is failing; does WASI not support the alloc crate?

taiki-e commented 1 year ago

I'm not sure why the WASI test is failing; does WASI not support the alloc crate?

It's rustc regression introduced in 1.68; it should be fixed in the latest setup-cross-toolchain-action which includes https://github.com/taiki-e/setup-cross-toolchain-action/commit/fd352f3ffabd00daf2759ab4a3276729e52eeb10. EDIT: filed https://github.com/rust-lang/rust/pull/109156 to fix rustc.

(I restarted CI)