You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rand 0.6.2 is broken on wasm32-unknown-unknown #674
I tried adding the rand_os line to my features array, based on some of the discussion here and in #675 but it didn't seem to change anything from what I could tell.
Activity
netgusto commentedon Jan 4, 2019
I experience this problem too.
When I add the "wasm-bindgen" feature in my dependencies, like so:
I get this error upon compilation:
the package depends on `rand`, with features: `wasm_bindgen` but `rand` does not have these features.dhardy commentedon Jan 4, 2019
Hmm, that's what we get for moving optional dependencies... forgetting that they are also features.
You can directly depend on
rand_osto enable the feature, but I guess we should fix by adding those features back toranditself.ernieturner commentedon Jan 7, 2019
I seem to be running into this issue even on rand 0.6.3, but with a different error message. My dependencies are
Which works on rand 0.6.1, but on 0.6.3 when I try to compile it via
cargo build --release --target wasm32-unknown-unknownI get the followingI tried adding the
rand_osline to my features array, based on some of the discussion here and in #675 but it didn't seem to change anything from what I could tell.dhardy commentedon Jan 8, 2019
Yes, this is #682 which has an easy fix but I didn't get to it yet...