-
Notifications
You must be signed in to change notification settings - Fork 332
Open
Description
Got this issue when try to build with target wasm
> cargo check --target wasm32-unknown-unknown --features rust_crypto
Blocking waiting for file lock on package cache
Checking getrandom v0.2.17
error: the wasm*-unknown-unknown targets are not supported by default, you may need to enable the "js" feature. For more information see: https://docs.rs/getrandom/#webassembly-support
--> /Users/ligt/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/src/lib.rs:346:9
|
346 | / compile_error!("the wasm*-unknown-unknown targets are not supported by \
347 | | default, you may need to enable the \"js\" feature. \
348 | | For more information see: \
349 | | https://docs.rs/getrandom/#webassembly-support");
| |________________________________________________________________________^
error: could not compile `getrandom` (lib) due to 1 previous error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels