From 411318cd659526c8d4f5673f933c1c987959bf4c Mon Sep 17 00:00:00 2001 From: frol <304265+frol@users.noreply.github.com> Date: Fri, 10 Jan 2025 01:32:01 +0000 Subject: [PATCH 1/2] [create-pull-request] automated change --- .../src/commands/new/new-project-template/Cargo.template.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cargo-near/src/commands/new/new-project-template/Cargo.template.toml b/cargo-near/src/commands/new/new-project-template/Cargo.template.toml index 2a36367c..c1695cbf 100644 --- a/cargo-near/src/commands/new/new-project-template/Cargo.template.toml +++ b/cargo-near/src/commands/new/new-project-template/Cargo.template.toml @@ -15,9 +15,9 @@ crate-type = ["cdylib", "rlib"] # in https://github.com/near/NEPs/blob/master/neps/nep-0330.md [package.metadata.near.reproducible_build] # docker image, descriptor of build environment -image = "sourcescan/cargo-near:0.13.2-rust-1.83.0" +image = "sourcescan/cargo-near:0.13.2-rust-1.84.0" # tag after colon above serves only descriptive purpose; image is identified by digest -image_digest = "sha256:d4ecd27f78dea4e37ddc44a86c46a920454472c08a0950228629f2edafb24d0d" +image_digest = "sha256:b41cb89907f92b114da9e2be4e109bff30ab792c22ddcbd2a4cff8e340cb9acb" # list of environment variables names, whose values, if set, will be used as external build parameters # in a reproducible manner # supported by `sourcescan/cargo-near:0.10.1-rust-1.82.0` image or later images From 09e0635617fb55462b17ed3174b591af7b567da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= <26653921+dj8yfo@users.noreply.github.com> Date: Mon, 13 Jan 2025 15:20:21 +0200 Subject: [PATCH 2/2] ci: fix clippy 1.84 (#290) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: dj8yf0μl --- cargo-near-build/src/cargo_native/target.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-near-build/src/cargo_native/target.rs b/cargo-near-build/src/cargo_native/target.rs index 98e1d068..c83af70a 100644 --- a/cargo-near-build/src/cargo_native/target.rs +++ b/cargo-near-build/src/cargo_native/target.rs @@ -36,7 +36,7 @@ pub fn wasm32_exists() -> bool { .map(|stdout| { stdout .lines() - .any(|target| target.as_ref().map_or(false, |t| t == COMPILATION_TARGET)) + .any(|target| target.as_ref().is_ok_and(|t| t == COMPILATION_TARGET)) }) .is_ok() }