diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-05-08 21:12:31 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-08 21:12:31 +0200 |
| commit | 632572d1cb29ab6badb87c74a95c120b4238f7c6 (patch) | |
| tree | eaaefe965d6a9091ac2b5107264fba55167e20a8 | |
| parent | 76f737bb0e62146cecba618a34e9efc8c91fb3c3 (diff) | |
| parent | ab00c6987a2297b277ad8cadce8c48a705310d17 (diff) | |
Merge pull request #166 from rukai/work_on_latest_nightly
Fix build on the latest nightly
| -rw-r--r-- | embassy-traits/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy/src/lib.rs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/embassy-traits/src/lib.rs b/embassy-traits/src/lib.rs index ea59444c1..ceef0d2ed 100644 --- a/embassy-traits/src/lib.rs +++ b/embassy-traits/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | 1 | #![cfg_attr(not(feature = "std"), no_std)] |
| 2 | #![feature(generic_associated_types)] | 2 | #![feature(generic_associated_types)] |
| 3 | #![feature(const_fn)] | ||
| 4 | #![feature(const_fn_fn_ptr_basics)] | 3 | #![feature(const_fn_fn_ptr_basics)] |
| 5 | #![feature(const_option)] | 4 | #![feature(const_option)] |
| 6 | #![allow(incomplete_features)] | 5 | #![allow(incomplete_features)] |
diff --git a/embassy/src/lib.rs b/embassy/src/lib.rs index af05a794b..3a0701d38 100644 --- a/embassy/src/lib.rs +++ b/embassy/src/lib.rs | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | 1 | #![cfg_attr(not(feature = "std"), no_std)] |
| 2 | #![feature(generic_associated_types)] | 2 | #![feature(generic_associated_types)] |
| 3 | #![feature(const_fn)] | 3 | #![feature(const_fn_trait_bound)] |
| 4 | #![feature(const_fn_fn_ptr_basics)] | 4 | #![feature(const_fn_fn_ptr_basics)] |
| 5 | #![feature(const_option)] | 5 | #![feature(const_option)] |
| 6 | #![allow(incomplete_features)] | 6 | #![allow(incomplete_features)] |
