Skip to content

Conversation

expenses
Copy link
Contributor

#92 was missing some dependencies needed for wasm compilation, so I've added them here. You can compile it with RUSTFLAGS=--cfg=web_sys_unstable_apis cargo build --bin wgpu-example-runner --target wasm32-unknown-unknown. It won't actually render on firefox nightly unless you downgrade to the gecko branch, which is lagging behind significantly. Haven't tested on chrome canary yet.

Copy link
Contributor

@khyperia khyperia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat, thanks!

@mergify mergify bot merged commit 1b99a9c into EmbarkStudios:main Oct 27, 2020
@expenses expenses deleted the fix-wgpu-example-runner-wasm-compilation branch October 27, 2020 15:02
@repi
Copy link
Contributor

repi commented Oct 27, 2020

Cool!

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.

3 participants