WASM CD cross compilation troubles #14111
-
Heyo, I'm trying to go off of the official CI/CD example for bevy but I keep running into errors that I'm not sure how to handle. The root of my problem seems to be:
It recommends:
And when I try that, I get errors while compiling
When I try to do a web search for this I get all kinds of advice for different things like Also for context:
I'm trying to figure out if this is something to do with bevy (since AFAIK glib is a library for interacting with gtk windows) or if it's one of the crates I added for extra features. As it stands right now I feel my "project" is a decent minimal reproduction since I really haven't started adding any code. I wanted to make sure my CI/CD would work before getting into the dirt of it. I'm relatively new to Rust and Bevy but not to development. Hoping I'm just being really dumb about something obvious. Also I added a segment in my action that generates a helpful version string that is injected into the rust code before compiling so the binary knows what version of the code it is. If that's interesting, I'm happy to submit a PR to the official example. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I'm also finding this thread which seems relevant? gtk-rs/gtk-rs-core#416 |
Beta Was this translation helpful? Give feedback.
-
One of your dependencies, |
Beta Was this translation helpful? Give feedback.
One of your dependencies,
bevy-panic-handler
can't compile in Wasm. It's backed by https://crates.io/crates/msgbox which doesn't support Wasm