Skip to content

Commit 944021f

Browse files
Update direct dependencies.
1 parent 16606af commit 944021f

File tree

4 files changed

+388
-101
lines changed

4 files changed

+388
-101
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ env:
66
# This is required to enable the web_sys clipboard API which egui_web uses
77
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
88
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
9-
RUSTFLAGS: --cfg=web_sys_unstable_apis
9+
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"
1013

1114
jobs:
1215
check:

0 commit comments

Comments
 (0)