We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16606af commit 944021fCopy full SHA for 944021f
.github/workflows/rust.yml
@@ -6,7 +6,10 @@ env:
6
# This is required to enable the web_sys clipboard API which egui_web uses
7
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
8
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
9
- RUSTFLAGS: --cfg=web_sys_unstable_apis
+
10
+ # The getrandom dependency requires setting the backend:
11
+ # https://docs.rs/getrandom/0.3.3/getrandom/#webassembly-support
12
+ RUSTFLAGS: --cfg=web_sys_unstable_apis --cfg getrandom_backend="wasm_js"
13
14
jobs:
15
check:
0 commit comments