diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-05-19 17:12:29 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-05-19 17:12:39 +0200 |
| commit | 9f7392474b6a6e3a2f20e6419743afb196456c66 (patch) | |
| tree | 3237949e01a2e07053c786d50928a4b0450d2b29 | |
| parent | 9dff6b9d81a56966a815057c79898c178841b1cd (diff) | |
Update Rust nightly.
| -rw-r--r-- | embassy-boot/boot/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-embedded-hal/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-lora/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-net/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-nrf/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-rp/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-stm32/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-sync/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-time/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-usb-driver/src/lib.rs | 1 | ||||
| -rw-r--r-- | examples/stm32wl/src/bin/lora_lorawan.rs | 1 | ||||
| -rw-r--r-- | examples/stm32wl/src/bin/lora_p2p_receive.rs | 1 | ||||
| -rw-r--r-- | examples/stm32wl/src/bin/lora_p2p_send.rs | 1 | ||||
| -rw-r--r-- | examples/wasm/src/lib.rs | 1 | ||||
| -rw-r--r-- | rust-toolchain.toml | 2 |
15 files changed, 1 insertions, 15 deletions
diff --git a/embassy-boot/boot/src/lib.rs b/embassy-boot/boot/src/lib.rs index 8eb3ba96d..4521fecb0 100644 --- a/embassy-boot/boot/src/lib.rs +++ b/embassy-boot/boot/src/lib.rs | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait))] | 1 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait))] |
| 2 | #![allow(incomplete_features)] | ||
| 3 | #![no_std] | 2 | #![no_std] |
| 4 | #![warn(missing_docs)] | 3 | #![warn(missing_docs)] |
| 5 | #![doc = include_str!("../README.md")] | 4 | #![doc = include_str!("../README.md")] |
diff --git a/embassy-embedded-hal/src/lib.rs b/embassy-embedded-hal/src/lib.rs index a783151e4..73c81b465 100644 --- a/embassy-embedded-hal/src/lib.rs +++ b/embassy-embedded-hal/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | 1 | #![cfg_attr(not(feature = "std"), no_std)] |
| 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections, try_blocks))] | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections, try_blocks))] |
| 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | ||
| 4 | #![warn(missing_docs)] | 3 | #![warn(missing_docs)] |
| 5 | 4 | ||
| 6 | //! Utilities to use `embedded-hal` traits with Embassy. | 5 | //! Utilities to use `embedded-hal` traits with Embassy. |
diff --git a/embassy-lora/src/lib.rs b/embassy-lora/src/lib.rs index 3facee6f3..c23d1d0dd 100644 --- a/embassy-lora/src/lib.rs +++ b/embassy-lora/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![feature(async_fn_in_trait, impl_trait_projections)] | 2 | #![feature(async_fn_in_trait, impl_trait_projections)] |
| 3 | #![allow(incomplete_features)] | ||
| 4 | //! embassy-lora holds LoRa-specific functionality. | 3 | //! embassy-lora holds LoRa-specific functionality. |
| 5 | 4 | ||
| 6 | pub(crate) mod fmt; | 5 | pub(crate) mod fmt; |
diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index 9487c0913..bccbad521 100644 --- a/embassy-net/src/lib.rs +++ b/embassy-net/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | 1 | #![cfg_attr(not(feature = "std"), no_std)] |
| 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | ||
| 4 | #![warn(missing_docs)] | 3 | #![warn(missing_docs)] |
| 5 | #![doc = include_str!("../README.md")] | 4 | #![doc = include_str!("../README.md")] |
| 6 | 5 | ||
diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs index 7c60b32b2..d4d7a1cad 100644 --- a/embassy-nrf/src/lib.rs +++ b/embassy-nrf/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | ||
| 4 | #![doc = include_str!("../README.md")] | 3 | #![doc = include_str!("../README.md")] |
| 5 | #![warn(missing_docs)] | 4 | #![warn(missing_docs)] |
| 6 | 5 | ||
diff --git a/embassy-rp/src/lib.rs b/embassy-rp/src/lib.rs index 980ebe7f4..4e4542d70 100644 --- a/embassy-rp/src/lib.rs +++ b/embassy-rp/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | ||
| 4 | 3 | ||
| 5 | // This mod MUST go first, so that the others see its macros. | 4 | // This mod MUST go first, so that the others see its macros. |
| 6 | pub(crate) mod fmt; | 5 | pub(crate) mod fmt; |
diff --git a/embassy-stm32/src/lib.rs b/embassy-stm32/src/lib.rs index 3283c4062..1920e2642 100644 --- a/embassy-stm32/src/lib.rs +++ b/embassy-stm32/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | ||
| 4 | 3 | ||
| 5 | // This must go FIRST so that all the other modules see its macros. | 4 | // This must go FIRST so that all the other modules see its macros. |
| 6 | pub mod fmt; | 5 | pub mod fmt; |
diff --git a/embassy-sync/src/lib.rs b/embassy-sync/src/lib.rs index f9435ecff..53d95d081 100644 --- a/embassy-sync/src/lib.rs +++ b/embassy-sync/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)] | 1 | #![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)] |
| 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | ||
| 4 | #![allow(clippy::new_without_default)] | 3 | #![allow(clippy::new_without_default)] |
| 5 | #![doc = include_str!("../README.md")] | 4 | #![doc = include_str!("../README.md")] |
| 6 | #![warn(missing_docs)] | 5 | #![warn(missing_docs)] |
diff --git a/embassy-time/src/lib.rs b/embassy-time/src/lib.rs index 8b0aebe19..8f57eabcb 100644 --- a/embassy-time/src/lib.rs +++ b/embassy-time/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![cfg_attr(not(any(feature = "std", feature = "wasm", test)), no_std)] | 1 | #![cfg_attr(not(any(feature = "std", feature = "wasm", test)), no_std)] |
| 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait))] | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait))] |
| 3 | #![cfg_attr(feature = "nightly", allow(incomplete_features))] | ||
| 4 | #![doc = include_str!("../README.md")] | 3 | #![doc = include_str!("../README.md")] |
| 5 | #![allow(clippy::new_without_default)] | 4 | #![allow(clippy::new_without_default)] |
| 6 | #![warn(missing_docs)] | 5 | #![warn(missing_docs)] |
diff --git a/embassy-usb-driver/src/lib.rs b/embassy-usb-driver/src/lib.rs index 2c05f94f7..86e37595b 100644 --- a/embassy-usb-driver/src/lib.rs +++ b/embassy-usb-driver/src/lib.rs | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![feature(async_fn_in_trait)] | 2 | #![feature(async_fn_in_trait)] |
| 3 | #![allow(incomplete_features)] | ||
| 4 | #![doc = include_str!("../README.md")] | 3 | #![doc = include_str!("../README.md")] |
| 5 | #![warn(missing_docs)] | 4 | #![warn(missing_docs)] |
| 6 | 5 | ||
diff --git a/examples/stm32wl/src/bin/lora_lorawan.rs b/examples/stm32wl/src/bin/lora_lorawan.rs index 644ce2959..1a271b2f2 100644 --- a/examples/stm32wl/src/bin/lora_lorawan.rs +++ b/examples/stm32wl/src/bin/lora_lorawan.rs | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | #![no_main] | 4 | #![no_main] |
| 5 | #![macro_use] | 5 | #![macro_use] |
| 6 | #![feature(type_alias_impl_trait, async_fn_in_trait)] | 6 | #![feature(type_alias_impl_trait, async_fn_in_trait)] |
| 7 | #![allow(incomplete_features)] | ||
| 8 | 7 | ||
| 9 | use defmt::info; | 8 | use defmt::info; |
| 10 | use embassy_executor::Spawner; | 9 | use embassy_executor::Spawner; |
diff --git a/examples/stm32wl/src/bin/lora_p2p_receive.rs b/examples/stm32wl/src/bin/lora_p2p_receive.rs index 81e9c7057..5e80e8f6a 100644 --- a/examples/stm32wl/src/bin/lora_p2p_receive.rs +++ b/examples/stm32wl/src/bin/lora_p2p_receive.rs | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | #![no_main] | 4 | #![no_main] |
| 5 | #![macro_use] | 5 | #![macro_use] |
| 6 | #![feature(type_alias_impl_trait, async_fn_in_trait)] | 6 | #![feature(type_alias_impl_trait, async_fn_in_trait)] |
| 7 | #![allow(incomplete_features)] | ||
| 8 | 7 | ||
| 9 | use defmt::info; | 8 | use defmt::info; |
| 10 | use embassy_executor::Spawner; | 9 | use embassy_executor::Spawner; |
diff --git a/examples/stm32wl/src/bin/lora_p2p_send.rs b/examples/stm32wl/src/bin/lora_p2p_send.rs index 263d4e670..e22c714bd 100644 --- a/examples/stm32wl/src/bin/lora_p2p_send.rs +++ b/examples/stm32wl/src/bin/lora_p2p_send.rs | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | #![no_main] | 4 | #![no_main] |
| 5 | #![macro_use] | 5 | #![macro_use] |
| 6 | #![feature(type_alias_impl_trait, async_fn_in_trait)] | 6 | #![feature(type_alias_impl_trait, async_fn_in_trait)] |
| 7 | #![allow(incomplete_features)] | ||
| 8 | 7 | ||
| 9 | use defmt::info; | 8 | use defmt::info; |
| 10 | use embassy_executor::Spawner; | 9 | use embassy_executor::Spawner; |
diff --git a/examples/wasm/src/lib.rs b/examples/wasm/src/lib.rs index d44c020b6..edfe8bafc 100644 --- a/examples/wasm/src/lib.rs +++ b/examples/wasm/src/lib.rs | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | #![feature(type_alias_impl_trait)] | 1 | #![feature(type_alias_impl_trait)] |
| 2 | #![allow(incomplete_features)] | ||
| 3 | 2 | ||
| 4 | use embassy_executor::Spawner; | 3 | use embassy_executor::Spawner; |
| 5 | use embassy_time::{Duration, Timer}; | 4 | use embassy_time::{Duration, Timer}; |
diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2301ddc8d..fd454db26 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # Before upgrading check that everything is available on all tier1 targets here: | 1 | # Before upgrading check that everything is available on all tier1 targets here: |
| 2 | # https://rust-lang.github.io/rustup-components-history | 2 | # https://rust-lang.github.io/rustup-components-history |
| 3 | [toolchain] | 3 | [toolchain] |
| 4 | channel = "nightly-2023-04-18" | 4 | channel = "nightly-2023-05-18" |
| 5 | components = [ "rust-src", "rustfmt", "llvm-tools-preview" ] | 5 | components = [ "rust-src", "rustfmt", "llvm-tools-preview" ] |
| 6 | targets = [ | 6 | targets = [ |
| 7 | "thumbv7em-none-eabi", | 7 | "thumbv7em-none-eabi", |
