aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32-wpan
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-11-01 04:56:56 +0100
committerDario Nieuwenhuis <[email protected]>2023-11-01 04:56:56 +0100
commite519e002657e992c47bebc356b044902334d32bc (patch)
tree870b521845ae7b115d032b002f4ff2f96a37835d /embassy-stm32-wpan
parentdd6a29adb2b503520f7db28e50563f41cf1f4730 (diff)
Update Rust nightly.
Diffstat (limited to 'embassy-stm32-wpan')
-rw-r--r--embassy-stm32-wpan/src/lib.rs4
-rw-r--r--embassy-stm32-wpan/src/mac/driver.rs1
2 files changed, 4 insertions, 1 deletions
diff --git a/embassy-stm32-wpan/src/lib.rs b/embassy-stm32-wpan/src/lib.rs
index 2a8ab7253..69a3d082a 100644
--- a/embassy-stm32-wpan/src/lib.rs
+++ b/embassy-stm32-wpan/src/lib.rs
@@ -1,5 +1,9 @@
1#![no_std] 1#![no_std]
2#![cfg_attr(any(feature = "ble", feature = "mac"), feature(async_fn_in_trait))] 2#![cfg_attr(any(feature = "ble", feature = "mac"), feature(async_fn_in_trait))]
3#![cfg_attr(
4 any(feature = "ble", feature = "mac"),
5 allow(stable_features, unknown_lints, async_fn_in_trait)
6)]
3#![cfg_attr(feature = "mac", feature(type_alias_impl_trait, concat_bytes))] 7#![cfg_attr(feature = "mac", feature(type_alias_impl_trait, concat_bytes))]
4 8
5// This must go FIRST so that all the other modules see its macros. 9// This must go FIRST so that all the other modules see its macros.
diff --git a/embassy-stm32-wpan/src/mac/driver.rs b/embassy-stm32-wpan/src/mac/driver.rs
index ffba6e5e8..5b9d5daf4 100644
--- a/embassy-stm32-wpan/src/mac/driver.rs
+++ b/embassy-stm32-wpan/src/mac/driver.rs
@@ -1,4 +1,3 @@
1#![allow(incomplete_features)]
2#![deny(unused_must_use)] 1#![deny(unused_must_use)]
3 2
4use core::task::Context; 3use core::task::Context;