Skip to content
Discussion options

You must be logged in to vote

the env variable RUSTFLAGS should be set to --cfg=web_sys_unstable_apis cargo run-wasm shader_viewer
running the following in bash in windows works for me

$ RUSTFLAGS=--cfg=web_sys_unstable_apis cargo run-wasm shader_viewer

Replies: 1 comment 1 reply

Comment options

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

kvark Apr 4, 2022
Maintainer

Answer selected by grovesNL
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