diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-03-17 02:48:16 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-03-17 02:48:16 +0100 |
| commit | 6ed1a8713895175520de7cb9f1f1239eef57263a (patch) | |
| tree | c8fe42fb83fda5030e10c57cb0016095b3cbf7e0 | |
| parent | 3fcecd076b9655f471a12d164bf1aa8aecbaeef9 (diff) | |
Update features for latest nightly.
| -rw-r--r-- | embassy-nrf-examples/src/bin/buffered_uart.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/executor_fairness_test.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/gpiote_channel.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/gpiote_port.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/multiprio.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/qspi.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/rtc_async.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/rtc_raw.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/spim.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf-examples/src/bin/uart.rs | 2 | ||||
| -rw-r--r-- | embassy-nrf/src/lib.rs | 2 | ||||
| -rw-r--r-- | embassy-std-examples/src/bin/serial.rs | 2 | ||||
| -rw-r--r-- | embassy-std-examples/src/bin/tick.rs | 2 | ||||
| -rw-r--r-- | embassy-stm32f4-examples/src/bin/exti.rs | 2 | ||||
| -rw-r--r-- | embassy-stm32f4-examples/src/bin/hello.rs | 2 | ||||
| -rw-r--r-- | embassy-stm32f4-examples/src/bin/rtc_async.rs | 2 | ||||
| -rw-r--r-- | embassy-stm32f4-examples/src/bin/serial.rs | 2 | ||||
| -rw-r--r-- | embassy-stm32f4/src/lib.rs | 2 | ||||
| -rw-r--r-- | embassy-traits/src/lib.rs | 4 | ||||
| -rw-r--r-- | embassy/src/lib.rs | 2 |
20 files changed, 41 insertions, 1 deletions
diff --git a/embassy-nrf-examples/src/bin/buffered_uart.rs b/embassy-nrf-examples/src/bin/buffered_uart.rs index 42e812292..71e9b4a77 100644 --- a/embassy-nrf-examples/src/bin/buffered_uart.rs +++ b/embassy-nrf-examples/src/bin/buffered_uart.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/executor_fairness_test.rs b/embassy-nrf-examples/src/bin/executor_fairness_test.rs index 1b9955739..6d0a311d8 100644 --- a/embassy-nrf-examples/src/bin/executor_fairness_test.rs +++ b/embassy-nrf-examples/src/bin/executor_fairness_test.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/gpiote_channel.rs b/embassy-nrf-examples/src/bin/gpiote_channel.rs index 4c4dabc6d..3764ba1c2 100644 --- a/embassy-nrf-examples/src/bin/gpiote_channel.rs +++ b/embassy-nrf-examples/src/bin/gpiote_channel.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/gpiote_port.rs b/embassy-nrf-examples/src/bin/gpiote_port.rs index ccb5bb97c..36ee1c8ea 100644 --- a/embassy-nrf-examples/src/bin/gpiote_port.rs +++ b/embassy-nrf-examples/src/bin/gpiote_port.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/multiprio.rs b/embassy-nrf-examples/src/bin/multiprio.rs index d652633ab..f5ebf67ff 100644 --- a/embassy-nrf-examples/src/bin/multiprio.rs +++ b/embassy-nrf-examples/src/bin/multiprio.rs | |||
| @@ -55,6 +55,8 @@ | |||
| 55 | 55 | ||
| 56 | #![no_std] | 56 | #![no_std] |
| 57 | #![no_main] | 57 | #![no_main] |
| 58 | #![feature(min_type_alias_impl_trait)] | ||
| 59 | #![feature(impl_trait_in_bindings)] | ||
| 58 | #![feature(type_alias_impl_trait)] | 60 | #![feature(type_alias_impl_trait)] |
| 59 | 61 | ||
| 60 | #[path = "../example_common.rs"] | 62 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/qspi.rs b/embassy-nrf-examples/src/bin/qspi.rs index 587ed7ddb..7d8a45f78 100644 --- a/embassy-nrf-examples/src/bin/qspi.rs +++ b/embassy-nrf-examples/src/bin/qspi.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/rtc_async.rs b/embassy-nrf-examples/src/bin/rtc_async.rs index 5fb68633e..ec4374254 100644 --- a/embassy-nrf-examples/src/bin/rtc_async.rs +++ b/embassy-nrf-examples/src/bin/rtc_async.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/rtc_raw.rs b/embassy-nrf-examples/src/bin/rtc_raw.rs index 017487da8..884ca92b9 100644 --- a/embassy-nrf-examples/src/bin/rtc_raw.rs +++ b/embassy-nrf-examples/src/bin/rtc_raw.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/spim.rs b/embassy-nrf-examples/src/bin/spim.rs index 0a284dc89..d6b3a5f87 100644 --- a/embassy-nrf-examples/src/bin/spim.rs +++ b/embassy-nrf-examples/src/bin/spim.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf-examples/src/bin/uart.rs b/embassy-nrf-examples/src/bin/uart.rs index 41f9e1276..0acd6fded 100644 --- a/embassy-nrf-examples/src/bin/uart.rs +++ b/embassy-nrf-examples/src/bin/uart.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index bb37ec367..2c72b912c 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![feature(generic_associated_types)] | 2 | #![feature(generic_associated_types)] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(min_type_alias_impl_trait)] | ||
| 5 | #![feature(impl_trait_in_bindings)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | 7 | #![allow(incomplete_features)] |
| 6 | 8 | ||
diff --git a/embassy-std-examples/src/bin/serial.rs b/embassy-std-examples/src/bin/serial.rs index cad64fb2f..6d628fe14 100644 --- a/embassy-std-examples/src/bin/serial.rs +++ b/embassy-std-examples/src/bin/serial.rs | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | #![feature(min_type_alias_impl_trait)] | ||
| 2 | #![feature(impl_trait_in_bindings)] | ||
| 1 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 2 | 4 | ||
| 3 | #[path = "../serial_port.rs"] | 5 | #[path = "../serial_port.rs"] |
diff --git a/embassy-std-examples/src/bin/tick.rs b/embassy-std-examples/src/bin/tick.rs index af2305f33..96eef067c 100644 --- a/embassy-std-examples/src/bin/tick.rs +++ b/embassy-std-examples/src/bin/tick.rs | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | #![feature(min_type_alias_impl_trait)] | ||
| 2 | #![feature(impl_trait_in_bindings)] | ||
| 1 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 2 | 4 | ||
| 3 | use embassy::executor::task; | 5 | use embassy::executor::task; |
diff --git a/embassy-stm32f4-examples/src/bin/exti.rs b/embassy-stm32f4-examples/src/bin/exti.rs index 6b3568d65..0c6561cda 100644 --- a/embassy-stm32f4-examples/src/bin/exti.rs +++ b/embassy-stm32f4-examples/src/bin/exti.rs | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | 3 | #![feature(trait_alias)] |
| 4 | #![feature(min_type_alias_impl_trait)] | ||
| 5 | #![feature(impl_trait_in_bindings)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 5 | 7 | ||
| 6 | #[path = "../example_common.rs"] | 8 | #[path = "../example_common.rs"] |
diff --git a/embassy-stm32f4-examples/src/bin/hello.rs b/embassy-stm32f4-examples/src/bin/hello.rs index 77c544643..8a6654146 100644 --- a/embassy-stm32f4-examples/src/bin/hello.rs +++ b/embassy-stm32f4-examples/src/bin/hello.rs | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | 3 | #![feature(trait_alias)] |
| 4 | #![feature(min_type_alias_impl_trait)] | ||
| 5 | #![feature(impl_trait_in_bindings)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 5 | 7 | ||
| 6 | #[path = "../example_common.rs"] | 8 | #[path = "../example_common.rs"] |
diff --git a/embassy-stm32f4-examples/src/bin/rtc_async.rs b/embassy-stm32f4-examples/src/bin/rtc_async.rs index e53212263..41ce2d4f1 100644 --- a/embassy-stm32f4-examples/src/bin/rtc_async.rs +++ b/embassy-stm32f4-examples/src/bin/rtc_async.rs | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(min_type_alias_impl_trait)] | ||
| 4 | #![feature(impl_trait_in_bindings)] | ||
| 3 | #![feature(type_alias_impl_trait)] | 5 | #![feature(type_alias_impl_trait)] |
| 4 | 6 | ||
| 5 | #[path = "../example_common.rs"] | 7 | #[path = "../example_common.rs"] |
diff --git a/embassy-stm32f4-examples/src/bin/serial.rs b/embassy-stm32f4-examples/src/bin/serial.rs index 6351f7284..b138bfdd8 100644 --- a/embassy-stm32f4-examples/src/bin/serial.rs +++ b/embassy-stm32f4-examples/src/bin/serial.rs | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![feature(trait_alias)] | 3 | #![feature(trait_alias)] |
| 4 | #![feature(min_type_alias_impl_trait)] | ||
| 5 | #![feature(impl_trait_in_bindings)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 5 | 7 | ||
| 6 | #[path = "../example_common.rs"] | 8 | #[path = "../example_common.rs"] |
diff --git a/embassy-stm32f4/src/lib.rs b/embassy-stm32f4/src/lib.rs index aa99068c2..e5e82cd5e 100644 --- a/embassy-stm32f4/src/lib.rs +++ b/embassy-stm32f4/src/lib.rs | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![feature(generic_associated_types)] | 2 | #![feature(generic_associated_types)] |
| 3 | #![feature(asm)] | 3 | #![feature(asm)] |
| 4 | #![feature(min_type_alias_impl_trait)] | ||
| 5 | #![feature(impl_trait_in_bindings)] | ||
| 4 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 5 | #![allow(incomplete_features)] | 7 | #![allow(incomplete_features)] |
| 6 | 8 | ||
diff --git a/embassy-traits/src/lib.rs b/embassy-traits/src/lib.rs index d8b06a091..bf5c63de7 100644 --- a/embassy-traits/src/lib.rs +++ b/embassy-traits/src/lib.rs | |||
| @@ -4,11 +4,13 @@ | |||
| 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)] |
| 7 | #![feature(min_type_alias_impl_trait)] | ||
| 8 | #![feature(impl_trait_in_bindings)] | ||
| 7 | #![feature(type_alias_impl_trait)] | 9 | #![feature(type_alias_impl_trait)] |
| 8 | 10 | ||
| 9 | pub mod delay; | 11 | pub mod delay; |
| 10 | pub mod flash; | 12 | pub mod flash; |
| 11 | pub mod gpio; | 13 | pub mod gpio; |
| 12 | pub mod qei; | ||
| 13 | pub mod i2c; | 14 | pub mod i2c; |
| 15 | pub mod qei; | ||
| 14 | pub mod uart; | 16 | pub mod uart; |
diff --git a/embassy/src/lib.rs b/embassy/src/lib.rs index b7ed4e708..55c8d8575 100644 --- a/embassy/src/lib.rs +++ b/embassy/src/lib.rs | |||
| @@ -4,6 +4,8 @@ | |||
| 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)] |
| 7 | #![feature(min_type_alias_impl_trait)] | ||
| 8 | #![feature(impl_trait_in_bindings)] | ||
| 7 | #![feature(type_alias_impl_trait)] | 9 | #![feature(type_alias_impl_trait)] |
| 8 | 10 | ||
| 9 | // This mod MUST go first, so that the others see its macros. | 11 | // This mod MUST go first, so that the others see its macros. |
