rust-random / getrandom

A small cross-platform library for retrieving random data from (operating) system source
Apache License 2.0
264 stars 166 forks source link

Fix build for wasm32/64-unknown-unknown without std #395

Closed gshep closed 4 months ago

gshep commented 4 months ago

fixes #394

newpavlov commented 4 months ago

Also note that it's fine to pull std for the js backend, since js-sys (on which the backend depends) already pulls std unconditionally.