diff --git a/embassy-executor/tests/ui/spawn_nonsend.stderr b/embassy-executor/tests/ui/spawn_nonsend.stderr index 25bd7d78d..5a3131602 100644 --- a/embassy-executor/tests/ui/spawn_nonsend.stderr +++ b/embassy-executor/tests/ui/spawn_nonsend.stderr @@ -9,7 +9,7 @@ warning: unused import: `core::future::Future` error[E0277]: `*mut ()` cannot be sent between threads safely --> tests/ui/spawn_nonsend.rs:13:13 | -7 | #[embassy_executor::task] + 7 | #[embassy_executor::task] | ------------------------- within this `impl Sized` ... 13 | s.spawn(task(core::ptr::null_mut()).unwrap()); @@ -21,7 +21,7 @@ error[E0277]: `*mut ()` cannot be sent between threads safely note: required because it's used within this closure --> tests/ui/spawn_nonsend.rs:7:1 | -7 | #[embassy_executor::task] + 7 | #[embassy_executor::task] | ^^^^^^^^^^^^^^^^^^^^^^^^^ note: required because it appears within the type `impl Sized` --> src/raw/mod.rs @@ -31,7 +31,7 @@ note: required because it appears within the type `impl Sized` note: required because it appears within the type `impl Sized` --> tests/ui/spawn_nonsend.rs:7:1 | -7 | #[embassy_executor::task] + 7 | #[embassy_executor::task] | ^^^^^^^^^^^^^^^^^^^^^^^^^ note: required by a bound in `SendSpawner::spawn` --> src/spawner.rs diff --git a/embassy-executor/tests/ui/unsafe_op_in_unsafe_task.stderr b/embassy-executor/tests/ui/unsafe_op_in_unsafe_task.stderr index d987a4b95..033395584 100644 --- a/embassy-executor/tests/ui/unsafe_op_in_unsafe_task.stderr +++ b/embassy-executor/tests/ui/unsafe_op_in_unsafe_task.stderr @@ -4,7 +4,7 @@ error[E0133]: call to unsafe function `std::ptr::const_ptr::::rea 7 | (&x as *const i32).read(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | - = note: for more information, see + = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> tests/ui/unsafe_op_in_unsafe_task.rs:5:1 diff --git a/embassy-sync/tests/ui/sync_impl/lazy_lock_function.stderr b/embassy-sync/tests/ui/sync_impl/lazy_lock_function.stderr index daf79ad28..417fb8e31 100644 --- a/embassy-sync/tests/ui/sync_impl/lazy_lock_function.stderr +++ b/embassy-sync/tests/ui/sync_impl/lazy_lock_function.stderr @@ -1,10 +1,10 @@ error[E0277]: `*const u8` cannot be shared between threads safely --> tests/ui/sync_impl/lazy_lock_function.rs:8:16 | -6 | let closure_capturing_non_sync_variable = || unsafe { core::ptr::read(x_ptr) }; + 6 | let closure_capturing_non_sync_variable = || unsafe { core::ptr::read(x_ptr) }; | -- within this `{closure@$DIR/tests/ui/sync_impl/lazy_lock_function.rs:6:47: 6:49}` -7 | -8 | check_sync(LazyLock::new(closure_capturing_non_sync_variable)); + 7 | + 8 | check_sync(LazyLock::new(closure_capturing_non_sync_variable)); | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `*const u8` cannot be shared between threads safely | | | required by a bound introduced by this call @@ -14,7 +14,7 @@ error[E0277]: `*const u8` cannot be shared between threads safely note: required because it's used within this closure --> tests/ui/sync_impl/lazy_lock_function.rs:6:47 | -6 | let closure_capturing_non_sync_variable = || unsafe { core::ptr::read(x_ptr) }; + 6 | let closure_capturing_non_sync_variable = || unsafe { core::ptr::read(x_ptr) }; | ^^ = note: required for `embassy_sync::lazy_lock::LazyLock` to implement `Sync` note: required by a bound in `check_sync` diff --git a/rust-toolchain-nightly.toml b/rust-toolchain-nightly.toml index 411cc6946..d3e88c7e1 100644 --- a/rust-toolchain-nightly.toml +++ b/rust-toolchain-nightly.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "nightly-2025-06-29" +channel = "nightly-2025-08-05" components = [ "rust-src", "rustfmt", "llvm-tools", "miri" ] targets = [ "thumbv7em-none-eabi", diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e24864037..5d925c934 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "1.88" +channel = "1.90" components = [ "rust-src", "rustfmt", "llvm-tools" ] targets = [ "thumbv7em-none-eabi",