-
-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rand panic when use wasm-bindgen #616
Comments
I've created a repo for reproduce this bug: |
From #[cfg(all(feature="std",
any(target_os = "linux", target_os = "android",
target_os = "netbsd",
target_os = "dragonfly",
target_os = "haiku",
target_os = "emscripten",
target_os = "solaris",
target_os = "cloudabi",
target_os = "macos", target_os = "ios",
target_os = "freebsd",
target_os = "openbsd", target_os = "bitrig",
target_os = "redox",
target_os = "fuchsia",
windows,
all(target_arch = "wasm32", feature = "stdweb"),
all(target_arch = "wasm32", feature = "wasm-bindgen"),
)))]
pub use self::os::OsRng; You're using |
Can't find "wasm-bindgen" feature in |
It seems that |
No, you'll have to wait for the 0.6 release for that #520 |
We have successfully used rand's git master from wasm using wasm-bindgen. I'm working on helping with 0.6 so we can get that out ASAP. |
Still not working for me on
|
@gregtatum since we're now on 0.6, I think it would be better to open a new issue; I think this one counts as "solved" now. Could you include the error message from |
simple code:
if use
OsRng
:can't found
The text was updated successfully, but these errors were encountered: