wasm-pack
wasm-pack copied to clipboard
wasm-pack test errors
🐛 Bug description
After building successfully I'm trying to test via:
wasm-pack test --chrome
and getting 184 errors during compilation of socket2
:
error: could not compile
socket2 due to 184 previous errors
error[E0308]: mismatched types
--> /Users/andrewvarga/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/socket.rs:1781:15
|
1781 | from!(Socket, net::UdpSocket);
| ^^^^^^^^^^^^^^ expected struct `UdpSocket`, found `()`
...
🤔 Expected Behavior
test should be successful.
👟 Steps to reproduce
See above in bug description
🌍 Your environment
Include the relevant details of your environment. wasm-pack version: 0.10.3 rustc version: 1.65.0-nightly