Skip to content

Commit 582e714

Browse files
committed
✨ feat: add RUSTFLAGS for wasm example build
1 parent 5f5310f commit 582e714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-page.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: rustup target add wasm32-unknown-unknown
4444

4545
- name: Build Example
46-
run: cargo build --release --target wasm32-unknown-unknown --example window
46+
run: RUSTFLAGS='--cfg getrandom_backend="wasm_js"' cargo build --release --target wasm32-unknown-unknown --example window
4747

4848
- name: Generate wasm bindings
4949
run: |

0 commit comments

Comments
 (0)