Skip to content

Fix WASM build for WebSocket#59

Merged
aecsocket merged 1 commit intoaecsocket:mainfrom
quaintsorcery:main
Sep 8, 2025
Merged

Fix WASM build for WebSocket#59
aecsocket merged 1 commit intoaecsocket:mainfrom
quaintsorcery:main

Conversation

@quaintsorcery
Copy link
Copy Markdown
Contributor

I ran into a WASM build error with aeronet_websocket.
Steps to replicate:

  • cargo update
  • cargo build --target wasm32-unknown-unknown --features client --example websocket_client

Removing the type hint fixes the build error, works with not updated Cargo.lock too.

@aecsocket
Copy link
Copy Markdown
Owner

Yep looks like my CI didn't catch it because it's using an old lockfile. Possibly a breaking change in wasm-bindgen, or did I miss something?

@aecsocket aecsocket merged commit 90f55b2 into aecsocket:main Sep 8, 2025
15 checks passed
@aecsocket
Copy link
Copy Markdown
Owner

aecsocket commented Sep 8, 2025

Will release a v0.16.0 to fix this, since I also have a breaking change in main (skipping v0.15 because aeronet_replicon already has a published 0.15)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants