Skip to content

Commit 27356ac

Browse files
committed
Try fixing wasm CI build
1 parent b4c3bc3 commit 27356ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@ jobs:
6363
command: build
6464
args: --release --locked ${{ matrix.cargo_flags }}
6565
target: ${{ matrix.target }}
66+
if: matrix.target != 'wasm32-unknown-unknown'
6667

6768
- name: trunk build
68-
run: trunk build --release
69+
run: RUSTFLAGS='--cfg getrandom_backend="wasm_js"' trunk build --release
6970
if: matrix.target == 'wasm32-unknown-unknown'
7071

7172
- name: Set exe extension for Windows

0 commit comments

Comments
 (0)