Skip to content

Commit

Permalink
Fix compile error with futures crate using a renamed function (#2299)
Browse files Browse the repository at this point in the history
* Fix compile error with futures crate using a function that was renamed in nightly

* Update nightly for build_raytrace job
  • Loading branch information
zebp authored Aug 29, 2020
1 parent 0be6887 commit 7ef5591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
steps:
- template: ci/azure-install-rust.yml
parameters:
toolchain: nightly-2020-06-03
toolchain: nightly-2020-08-27
- script: rustup component add rust-src
displayName: "install rust-src"
- script: |
Expand Down
2 changes: 1 addition & 1 deletion crates/futures/src/task/multithread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl AtomicWaker {
// the corresponding `waitAsync` that was waiting for the transition
// from SLEEPING to AWAKE.
unsafe {
core::arch::wasm32::atomic_notify(
core::arch::wasm32::memory_atomic_notify(
&self.state as *const AtomicI32 as *mut i32,
1, // Number of threads to notify
);
Expand Down

0 comments on commit 7ef5591

Please sign in to comment.