web: Enable web_sys_unstable_apis
Enable web_sys_unstable_apis RUSTFLAGS in .cargo/config.toml. These are necessary to use WebGPU in the browser, as well as other features such as clipboard.
This commit is contained in:
parent
4c44e27a00
commit
df11cd6a04
|
@ -0,0 +1,2 @@
|
|||
[target.wasm32-unknown-unknown]
|
||||
rustflags=["--cfg=web_sys_unstable_apis"]
|
Loading…
Reference in New Issue