From afdee318454a576b0144e2eae001f1e210acc81f Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sun, 10 Nov 2024 18:02:55 +0700 Subject: [PATCH] chore: update rust to 1.82 And explicitly disable features we don't support. --- .cargo/config.toml | 5 +++++ rust-toolchain.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 1e877e665..95d0899f6 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -8,5 +8,10 @@ rustflags = [ rustflags = [ "-Ctarget-feature=+bulk-memory", "-Ctarget-feature=+crt-static", + "-Ctarget-feature=+mutable-globals", + "-Ctarget-feature=+sign-ext", + "-Ctarget-feature=-reference-types", + "-Ctarget-feature=-multivalue", + "-Ctarget-feature=-atomics", "-Clink-arg=--export-table", ] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index f16a8d7ba..2701ad401 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "1.76.0" +channel = "1.82.0" components = ["clippy", "llvm-tools-preview", "rustfmt"] targets = ["wasm32-unknown-unknown"]