Skip to content

Commit

Permalink
Merge pull request #3316 from Ddystopia/main
Browse files Browse the repository at this point in the history
fix: nightly api changed during the night
  • Loading branch information
Dirbaio committed Sep 6, 2024
2 parents ca3d091 + 1443f33 commit 1cf7789
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion embassy-executor/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![cfg_attr(not(any(feature = "arch-std", feature = "arch-wasm")), no_std)]
#![cfg_attr(feature = "nightly", feature(waker_getters))]
#![allow(clippy::new_without_default)]
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
Expand Down
3 changes: 1 addition & 2 deletions embassy-executor/src/raw/waker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ pub fn task_from_waker(waker: &Waker) -> TaskRef {

#[cfg(feature = "nightly")]
{
let raw_waker = waker.as_raw();
(raw_waker.vtable(), raw_waker.data())
(waker.vtable(), waker.data())
}
};

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain-nightly.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2024-07-16"
channel = "nightly-2024-09-06"
components = [ "rust-src", "rustfmt", "llvm-tools", "miri" ]
targets = [
"thumbv7em-none-eabi",
Expand Down

0 comments on commit 1cf7789

Please sign in to comment.