Skip to content

Commit ceedea8

Browse files
authored
Update toolchain (#897)
1 parent f7e8a60 commit ceedea8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎rust-toolchain.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2025-12-08"
2+
channel = "nightly-2026-08-07"
33
targets = ["wasm32-unknown-unknown", "wasm32-wasip1"]
44
profile = "default" # include rustfmt, clippy

‎test-no-std/src/main.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ unsafe impl GlobalAlloc for SimpleAllocator {
101101
let mut allocated = 0;
102102
if self
103103
.remaining
104-
.fetch_update(SeqCst, SeqCst, |mut remaining| {
104+
.try_update(SeqCst, SeqCst, |mut remaining| {
105105
if size > remaining {
106106
return None;
107107
}

0 commit comments

Comments
 (0)