Skip to content
Discussion options

You must be logged in to vote

Dynamic linking doesn't work with web target.

Compile time for WASM is a pretty big problem in rust. I've been annoyed by it myself, and I'm not aware of a good solution. The way I do it is by testing the desktop version and then only compile to WASM when publishing (for example, publishing on itch.io). There isn't much you need to do to make your bevy game run on WASM, so when it comes time to compile to WASM, it's not that bad if you've been only testing on native, the changes you have to make are usually easy to find and fix.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dolto
Comment options

Answer selected by dolto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants