Skip to content

Commit 7ef5591

Browse files
authored
Fix compile error with futures crate using a renamed function (#2299)
* Fix compile error with futures crate using a function that was renamed in nightly * Update nightly for build_raytrace job
1 parent 0be6887 commit 7ef5591

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ jobs:
204204
steps:
205205
- template: ci/azure-install-rust.yml
206206
parameters:
207-
toolchain: nightly-2020-06-03
207+
toolchain: nightly-2020-08-27
208208
- script: rustup component add rust-src
209209
displayName: "install rust-src"
210210
- script: |

crates/futures/src/task/multithread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl AtomicWaker {
3636
// the corresponding `waitAsync` that was waiting for the transition
3737
// from SLEEPING to AWAKE.
3838
unsafe {
39-
core::arch::wasm32::atomic_notify(
39+
core::arch::wasm32::memory_atomic_notify(
4040
&self.state as *const AtomicI32 as *mut i32,
4141
1, // Number of threads to notify
4242
);

0 commit comments

Comments
 (0)