Skip to content

Commit 69d7fe5

Browse files
authored
Merge pull request #685 from svenstaro/try-fixing-ci
Try fixing wasm CI build
2 parents b4c3bc3 + 2595703 commit 69d7fe5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
- run: sudo apt install musl-tools
5858
if: startsWith(matrix.os, 'ubuntu') && matrix.target != 'wasm32-unknown-unknown'
5959

60+
- name: Set exe extension for Windows
61+
run: echo "RUSTFLAGS=--cfg getrandom_backend=\"wasm_js\"" >> "$GITHUB_ENV"
62+
if: matrix.target == 'wasm32-unknown-unknown'
63+
6064
- name: cargo build
6165
uses: houseabsolute/actions-rust-cross@v0
6266
with:

0 commit comments

Comments
 (0)