-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wasm support #18
Comments
I have attempted to add wasm32-unknown-unknown target support to version |
it gets me further but a blocker is now that we expect futures to be this might be a blocker because bevy requires this aswell right now for |
Thanks for attempting to support WASM, @EkardNT! Since I have a WASM project set up I'm able to test things and... I've found that attempting to add the plugin on wasm32-unknown-unknown in the browser fails, I think because of: Line 160 in 0a99778
which is called from: Line 87 in 0a99778
... since you can't really block on WASM. In particular the stack tops out with: So all of that being said I'm not certain whether there's a sensible way to run the behavior that this plugin is looking for in this WASM environment, but I'll try to take a look myself soon for one thing. |
I threw together a quick version based on
Update: It looks Happy to re-integrate if there's a straightforward path here. :) |
if I try to build my project for wasm using
bevy_tokio_tasks
it generates an error:is it possible to use the plain
rt
instead of the multithreaded runtime?The text was updated successfully, but these errors were encountered: