From 4b6ef26f8a1dc1cd62329918dbe646cf9c142113 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Tue, 6 Feb 2024 11:20:08 +0100 Subject: [PATCH] Fixed nighly build of `wasm-bindgen-futures` (#3827) --- .github/workflows/main.yml | 4 ++-- CHANGELOG.md | 3 +++ crates/futures/src/lib.rs | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 233af6fb532..457b09cf550 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -103,7 +103,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: rustup default nightly-2023-05-08 + - run: rustup default nightly-2024-02-06 - run: rustup target add wasm32-unknown-unknown - run: rustup component add rust-src # Note: we only run the browser tests here, because wasm-bindgen doesn't support threading in Node yet. @@ -283,7 +283,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: rustup default nightly-2023-05-08 + - run: rustup default nightly-2024-02-06 - run: rustup target add wasm32-unknown-unknown - run: rustup component add rust-src - run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a73f06b206..2ff30f9eeef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,9 @@ * Fixed using `#[wasm_bindgen(js_name = default)]` with `#[wasm_bindgen(module = ...)]`. [#3823](https://github.com/rustwasm/wasm-bindgen/pull/3823) +* Fixed nighly build of `wasm-bindgen-futures`. + [#3827](https://github.com/rustwasm/wasm-bindgen/pull/3827) + ## [0.2.90](https://github.com/rustwasm/wasm-bindgen/compare/0.2.89...0.2.90) Released 2024-01-06 diff --git a/crates/futures/src/lib.rs b/crates/futures/src/lib.rs index 8a02a51bc39..a44ec7c6d27 100644 --- a/crates/futures/src/lib.rs +++ b/crates/futures/src/lib.rs @@ -30,7 +30,7 @@ //! systems and make sure that Rust/JavaScript can work together with //! asynchronous and I/O work. -#![cfg_attr(target_feature = "atomics", feature(stdsimd))] +#![cfg_attr(target_feature = "atomics", feature(stdarch_wasm_atomic_wait))] #![deny(missing_docs)] use js_sys::Promise;