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
Does rust-libp2p support the wasm32-unknown-unknown target? I tried to compile the ping example with wasm-pack.
I thought the issue would be that the example relies on println! which is not available to the browser, but I actually got this error:
Compiling getrandom v0.2.3
error: the wasm32-unknown-unknown target is not supported by default, you may need to enable the "js" feature. For more information see: https://docs.rs/getrandom/#webassembly-support
The text was updated successfully, but these errors were encountered:
Does rust-libp2p support the wasm32-unknown-unknown target? I tried to compile the ping example with wasm-pack.
I thought the issue would be that the example relies on
println!
which is not available to the browser, but I actually got this error:The text was updated successfully, but these errors were encountered: