The following line is triggered when one compiles rand on wasm32-unknown-unknown:
|
compile_error!("enable either wasm_bindgen or stdweb feature"); |
rand doesn't enable neither stdweb or wasm-bindgen in its rand_os dependency, and doesn't have any way of enabling them.