Skip to content

Commit

Permalink
Fixed nighly build of wasm-bindgen-futures (#3827)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Feb 6, 2024
1 parent 22f84e3 commit 4b6ef26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/futures/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4b6ef26

Please sign in to comment.