diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-11-21 23:31:31 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-11-25 21:02:06 +0100 |
| commit | 1e2fb0459d8546ba658bb9fe150be5f1f537b48e (patch) | |
| tree | eb40a5027581896c7b78db58f509431ed6b11892 /embassy-nrf/src/lib.rs | |
| parent | 758f5d7ea29f1df14d5ef59c82e4b7f22545d775 (diff) | |
Switch to async-fn-in-trait
Diffstat (limited to 'embassy-nrf/src/lib.rs')
| -rw-r--r-- | embassy-nrf/src/lib.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index dc6f16867..9054bc300 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs | |||
| @@ -43,7 +43,11 @@ | |||
| 43 | //! mutable slices always reside in RAM. | 43 | //! mutable slices always reside in RAM. |
| 44 | 44 | ||
| 45 | #![no_std] | 45 | #![no_std] |
| 46 | #![cfg_attr(feature = "nightly", feature(type_alias_impl_trait))] | 46 | #![cfg_attr( |
| 47 | feature = "nightly", | ||
| 48 | feature(type_alias_impl_trait, async_fn_in_trait, impl_trait_projections) | ||
| 49 | )] | ||
| 50 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | ||
| 47 | 51 | ||
| 48 | #[cfg(not(any( | 52 | #[cfg(not(any( |
| 49 | feature = "nrf51", | 53 | feature = "nrf51", |
