From f7e284609fa984685d6284823404aceb40c06008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lloren=C3=A7?= Date: Tue, 14 Jan 2025 06:59:11 +0100 Subject: [PATCH 1/3] Update rust version --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 8c05b81d59..c1d61e3d52 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.83.0" +channel = "1.84.0" targets = ["wasm32-unknown-unknown"] From 062677741c5155113b7955d81d262c6d339c2736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lloren=C3=A7?= Date: Tue, 14 Jan 2025 07:02:53 +0100 Subject: [PATCH 2/3] Fix clippy --- src/internet_identity/src/archive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internet_identity/src/archive.rs b/src/internet_identity/src/archive.rs index deedd5ffff..0fd5744334 100644 --- a/src/internet_identity/src/archive.rs +++ b/src/internet_identity/src/archive.rs @@ -151,7 +151,7 @@ async fn archive_change_required(archive_canister: Principal, config: &ArchiveCo if !status .init - .map_or(false, |init| init == config_to_init(config)) + .is_some_and(|init| init == config_to_init(config)) { // the init arguments have changed --> deployment required regardless of wasm hash return true; From 6def27517045253969ec14bde69201b436c19821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lloren=C3=A7?= Date: Wed, 15 Jan 2025 09:13:59 +0100 Subject: [PATCH 3/3] Fix clippy --- src/sig-verifier-js/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sig-verifier-js/Cargo.toml b/src/sig-verifier-js/Cargo.toml index ddd835593e..13e3d2eab5 100644 --- a/src/sig-verifier-js/Cargo.toml +++ b/src/sig-verifier-js/Cargo.toml @@ -18,3 +18,7 @@ wasm-bindgen = "0.2" [dev-dependencies] assert_matches = "1.5" + +[lints.rust] +# Needed to solve a clippy issue with `#[wasm_bindgen(js_name = validateDelegationAndGetPrincipal)]` +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }