diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1ea44a..e82b855 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,8 @@ jobs: run: cargo test --verbose build-wasm: runs-on: ubuntu-latest + env: + RUSTFLAGS: "--cfg=web_sys_unstable_apis" steps: - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 @@ -38,6 +40,8 @@ jobs: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' needs: build-wasm + env: + RUSTFLAGS: "--cfg=web_sys_unstable_apis" steps: - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2