From 0ab1b126aed6f6dacc9b3e11fb58bdc8d1b40b9a Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Sun, 11 Dec 2022 17:50:51 -0500 Subject: [PATCH] Fix CI --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fca295a..de4465e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,8 +47,13 @@ jobs: override: true profile: minimal target: wasm32-unknown-unknown + # https://github.com/alexcrichton/scoped-tls/issues/20 + - run: cargo update -p scoped-tls --precise 1.0.0 + if: matrix.build == 'pinned' - run: cargo build --verbose - run: cargo build --verbose --target wasm32-unknown-unknown + env: + RUSTFLAGS: --cfg=web_sys_unstable_apis - run: cargo test --verbose - run: (cd examples/hello && cargo build --features glutin) - run: (cd examples/hello && cargo build --target wasm32-unknown-unknown)