From d45269d5dd7b124de2020b0854e557f61e0f6cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bigna=20H=C3=A4rdi?= Date: Fri, 14 Aug 2026 07:16:49 +0200 Subject: [PATCH] update toolchain, fix clippy --- rust-toolchain.toml | 2 +- test-no-std/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2cf0ecf8b..4f4b1c20a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2025-12-08" +channel = "nightly-2026-08-07" targets = ["wasm32-unknown-unknown", "wasm32-wasip1"] profile = "default" # include rustfmt, clippy diff --git a/test-no-std/src/main.rs b/test-no-std/src/main.rs index 180a4c6bf..798d729ef 100644 --- a/test-no-std/src/main.rs +++ b/test-no-std/src/main.rs @@ -101,7 +101,7 @@ unsafe impl GlobalAlloc for SimpleAllocator { let mut allocated = 0; if self .remaining - .fetch_update(SeqCst, SeqCst, |mut remaining| { + .try_update(SeqCst, SeqCst, |mut remaining| { if size > remaining { return None; }