Skip to content

Commit

Permalink
Update rust version (#2782)
Browse files Browse the repository at this point in the history
* Update rust version

* Fix clippy

* Fix clippy
  • Loading branch information
lmuntaner authored Jan 16, 2025
1 parent 760f271 commit 914e1fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.83.0"
channel = "1.84.0"
targets = ["wasm32-unknown-unknown"]
2 changes: 1 addition & 1 deletion src/internet_identity/src/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions src/sig-verifier-js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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)'] }

0 comments on commit 914e1fa

Please sign in to comment.