diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-11-01 04:56:56 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-11-01 04:56:56 +0100 |
| commit | e519e002657e992c47bebc356b044902334d32bc (patch) | |
| tree | 870b521845ae7b115d032b002f4ff2f96a37835d | |
| parent | dd6a29adb2b503520f7db28e50563f41cf1f4730 (diff) | |
Update Rust nightly.
| -rw-r--r-- | cyw43-pio/src/lib.rs | 2 | ||||
| -rw-r--r-- | cyw43/src/control.rs | 1 | ||||
| -rw-r--r-- | cyw43/src/lib.rs | 2 | ||||
| -rw-r--r-- | embassy-boot/boot/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-executor/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-net-adin1110/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-net-wiznet/src/lib.rs | 1 | ||||
| -rw-r--r-- | embassy-stm32-wpan/src/lib.rs | 4 | ||||
| -rw-r--r-- | embassy-stm32-wpan/src/mac/driver.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/rp/src/bin/pio_uart.rs | 1 | ||||
| -rw-r--r-- | examples/rp/src/bin/wifi_ap_tcp_server.rs | 2 | ||||
| -rw-r--r-- | examples/rp/src/bin/wifi_scan.rs | 2 | ||||
| -rw-r--r-- | examples/rp/src/bin/wifi_tcp_server.rs | 2 | ||||
| -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-- | rust-toolchain.toml | 2 |
19 files changed, 20 insertions, 8 deletions
diff --git a/cyw43-pio/src/lib.rs b/cyw43-pio/src/lib.rs index 830a5b44a..de89ed582 100644 --- a/cyw43-pio/src/lib.rs +++ b/cyw43-pio/src/lib.rs | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![allow(incomplete_features)] | ||
| 3 | #![feature(async_fn_in_trait)] | 2 | #![feature(async_fn_in_trait)] |
| 3 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 4 | 4 | ||
| 5 | use core::slice; | 5 | use core::slice; |
| 6 | 6 | ||
diff --git a/cyw43/src/control.rs b/cyw43/src/control.rs index d2709304c..ffcf2d9b1 100644 --- a/cyw43/src/control.rs +++ b/cyw43/src/control.rs | |||
| @@ -4,7 +4,6 @@ use embassy_net_driver_channel as ch; | |||
| 4 | use embassy_net_driver_channel::driver::{HardwareAddress, LinkState}; | 4 | use embassy_net_driver_channel::driver::{HardwareAddress, LinkState}; |
| 5 | use embassy_time::Timer; | 5 | use embassy_time::Timer; |
| 6 | 6 | ||
| 7 | pub use crate::bus::SpiBusCyw43; | ||
| 8 | use crate::consts::*; | 7 | use crate::consts::*; |
| 9 | use crate::events::{Event, EventSubscriber, Events}; | 8 | use crate::events::{Event, EventSubscriber, Events}; |
| 10 | use crate::fmt::Bytes; | 9 | use crate::fmt::Bytes; |
diff --git a/cyw43/src/lib.rs b/cyw43/src/lib.rs index 6b124cf7f..e60f87d0a 100644 --- a/cyw43/src/lib.rs +++ b/cyw43/src/lib.rs | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![no_main] | 2 | #![no_main] |
| 3 | #![allow(incomplete_features)] | ||
| 4 | #![feature(async_fn_in_trait, type_alias_impl_trait, concat_bytes)] | 3 | #![feature(async_fn_in_trait, type_alias_impl_trait, concat_bytes)] |
| 4 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 5 | #![deny(unused_must_use)] | 5 | #![deny(unused_must_use)] |
| 6 | 6 | ||
| 7 | // This mod MUST go first, so that the others see its macros. | 7 | // This mod MUST go first, so that the others see its macros. |
diff --git a/embassy-boot/boot/src/lib.rs b/embassy-boot/boot/src/lib.rs index 47f7c1797..9f0356375 100644 --- a/embassy-boot/boot/src/lib.rs +++ b/embassy-boot/boot/src/lib.rs | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait))] | 1 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait))] |
| 2 | #![cfg_attr(feature = "nightly", allow(stable_features, unknown_lints, async_fn_in_trait))] | ||
| 2 | #![no_std] | 3 | #![no_std] |
| 3 | #![warn(missing_docs)] | 4 | #![warn(missing_docs)] |
| 4 | #![doc = include_str!("../README.md")] | 5 | #![doc = include_str!("../README.md")] |
diff --git a/embassy-executor/src/lib.rs b/embassy-executor/src/lib.rs index 3ce687eb6..020f9095c 100644 --- a/embassy-executor/src/lib.rs +++ b/embassy-executor/src/lib.rs | |||
| @@ -33,6 +33,7 @@ check_at_most_one!("arch-cortex-m", "arch-riscv32", "arch-xtensa", "arch-std", " | |||
| 33 | mod arch; | 33 | mod arch; |
| 34 | 34 | ||
| 35 | #[cfg(feature = "_arch")] | 35 | #[cfg(feature = "_arch")] |
| 36 | #[allow(unused_imports)] // don't warn if the module is empty. | ||
| 36 | pub use arch::*; | 37 | pub use arch::*; |
| 37 | 38 | ||
| 38 | pub mod raw; | 39 | pub mod raw; |
diff --git a/embassy-net-adin1110/src/lib.rs b/embassy-net-adin1110/src/lib.rs index edee3438b..331c596df 100644 --- a/embassy-net-adin1110/src/lib.rs +++ b/embassy-net-adin1110/src/lib.rs | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #![deny(clippy::pedantic)] | 1 | #![deny(clippy::pedantic)] |
| 2 | #![feature(async_fn_in_trait)] | 2 | #![feature(async_fn_in_trait)] |
| 3 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 3 | #![cfg_attr(not(any(test, feature = "std")), no_std)] | 4 | #![cfg_attr(not(any(test, feature = "std")), no_std)] |
| 4 | #![allow(clippy::module_name_repetitions)] | 5 | #![allow(clippy::module_name_repetitions)] |
| 5 | #![allow(clippy::missing_errors_doc)] | 6 | #![allow(clippy::missing_errors_doc)] |
diff --git a/embassy-net-wiznet/src/lib.rs b/embassy-net-wiznet/src/lib.rs index afdb6729c..21d5f46d4 100644 --- a/embassy-net-wiznet/src/lib.rs +++ b/embassy-net-wiznet/src/lib.rs | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![feature(async_fn_in_trait)] | 2 | #![feature(async_fn_in_trait)] |
| 3 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 3 | #![doc = include_str!("../README.md")] | 4 | #![doc = include_str!("../README.md")] |
| 4 | 5 | ||
| 5 | pub mod chip; | 6 | pub mod chip; |
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 | ||
| 4 | use core::task::Context; | 3 | use core::task::Context; |
diff --git a/embassy-time/src/lib.rs b/embassy-time/src/lib.rs index 45c1e882b..a90368d59 100644 --- a/embassy-time/src/lib.rs +++ b/embassy-time/src/lib.rs | |||
| @@ -1,5 +1,6 @@ | |||
| 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(stable_features, unknown_lints, async_fn_in_trait))] | ||
| 3 | #![doc = include_str!("../README.md")] | 4 | #![doc = include_str!("../README.md")] |
| 4 | #![allow(clippy::new_without_default)] | 5 | #![allow(clippy::new_without_default)] |
| 5 | #![warn(missing_docs)] | 6 | #![warn(missing_docs)] |
diff --git a/embassy-usb-driver/src/lib.rs b/embassy-usb-driver/src/lib.rs index 86e37595b..9c2dddda5 100644 --- a/embassy-usb-driver/src/lib.rs +++ b/embassy-usb-driver/src/lib.rs | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | #![feature(async_fn_in_trait)] | 2 | #![feature(async_fn_in_trait)] |
| 3 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 3 | #![doc = include_str!("../README.md")] | 4 | #![doc = include_str!("../README.md")] |
| 4 | #![warn(missing_docs)] | 5 | #![warn(missing_docs)] |
| 5 | 6 | ||
diff --git a/examples/rp/src/bin/pio_uart.rs b/examples/rp/src/bin/pio_uart.rs index aa9e52cbd..45416c56b 100644 --- a/examples/rp/src/bin/pio_uart.rs +++ b/examples/rp/src/bin/pio_uart.rs | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | #![no_main] | 10 | #![no_main] |
| 11 | #![feature(type_alias_impl_trait)] | 11 | #![feature(type_alias_impl_trait)] |
| 12 | #![feature(async_fn_in_trait)] | 12 | #![feature(async_fn_in_trait)] |
| 13 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 13 | 14 | ||
| 14 | use defmt::{info, panic, trace}; | 15 | use defmt::{info, panic, trace}; |
| 15 | use embassy_executor::Spawner; | 16 | use embassy_executor::Spawner; |
diff --git a/examples/rp/src/bin/wifi_ap_tcp_server.rs b/examples/rp/src/bin/wifi_ap_tcp_server.rs index 98cae53f6..b5344c185 100644 --- a/examples/rp/src/bin/wifi_ap_tcp_server.rs +++ b/examples/rp/src/bin/wifi_ap_tcp_server.rs | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #![no_main] | 5 | #![no_main] |
| 6 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 7 | #![feature(async_fn_in_trait)] | 7 | #![feature(async_fn_in_trait)] |
| 8 | #![allow(incomplete_features)] | 8 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] |
| 9 | 9 | ||
| 10 | use core::str::from_utf8; | 10 | use core::str::from_utf8; |
| 11 | 11 | ||
diff --git a/examples/rp/src/bin/wifi_scan.rs b/examples/rp/src/bin/wifi_scan.rs index dbbbf6c81..f2acaf3e8 100644 --- a/examples/rp/src/bin/wifi_scan.rs +++ b/examples/rp/src/bin/wifi_scan.rs | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #![no_main] | 5 | #![no_main] |
| 6 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 7 | #![feature(async_fn_in_trait)] | 7 | #![feature(async_fn_in_trait)] |
| 8 | #![allow(incomplete_features)] | 8 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] |
| 9 | 9 | ||
| 10 | use core::str; | 10 | use core::str; |
| 11 | 11 | ||
diff --git a/examples/rp/src/bin/wifi_tcp_server.rs b/examples/rp/src/bin/wifi_tcp_server.rs index c00fff216..4e74ad117 100644 --- a/examples/rp/src/bin/wifi_tcp_server.rs +++ b/examples/rp/src/bin/wifi_tcp_server.rs | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #![no_main] | 5 | #![no_main] |
| 6 | #![feature(type_alias_impl_trait)] | 6 | #![feature(type_alias_impl_trait)] |
| 7 | #![feature(async_fn_in_trait)] | 7 | #![feature(async_fn_in_trait)] |
| 8 | #![allow(incomplete_features)] | 8 | #![allow(stable_features, unknown_lints, async_fn_in_trait)] |
| 9 | 9 | ||
| 10 | use core::str::from_utf8; | 10 | use core::str::from_utf8; |
| 11 | 11 | ||
diff --git a/examples/stm32wl/src/bin/lora_lorawan.rs b/examples/stm32wl/src/bin/lora_lorawan.rs index 35a6a8425..226e6786f 100644 --- a/examples/stm32wl/src/bin/lora_lorawan.rs +++ b/examples/stm32wl/src/bin/lora_lorawan.rs | |||
| @@ -4,6 +4,7 @@ | |||
| 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(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 7 | 8 | ||
| 8 | use defmt::info; | 9 | use defmt::info; |
| 9 | use embassy_executor::Spawner; | 10 | 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 1c485d739..a3bb0c0f9 100644 --- a/examples/stm32wl/src/bin/lora_p2p_receive.rs +++ b/examples/stm32wl/src/bin/lora_p2p_receive.rs | |||
| @@ -4,6 +4,7 @@ | |||
| 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(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 7 | 8 | ||
| 8 | use defmt::info; | 9 | use defmt::info; |
| 9 | use embassy_executor::Spawner; | 10 | 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 3afa78acb..08dd0845e 100644 --- a/examples/stm32wl/src/bin/lora_p2p_send.rs +++ b/examples/stm32wl/src/bin/lora_p2p_send.rs | |||
| @@ -4,6 +4,7 @@ | |||
| 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(stable_features, unknown_lints, async_fn_in_trait)] | ||
| 7 | 8 | ||
| 8 | use defmt::info; | 9 | use defmt::info; |
| 9 | use embassy_executor::Spawner; | 10 | use embassy_executor::Spawner; |
diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 755a92075..419c31085 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-10-02" | 4 | channel = "nightly-2023-11-01" |
| 5 | components = [ "rust-src", "rustfmt", "llvm-tools" ] | 5 | components = [ "rust-src", "rustfmt", "llvm-tools" ] |
| 6 | targets = [ | 6 | targets = [ |
| 7 | "thumbv7em-none-eabi", | 7 | "thumbv7em-none-eabi", |
