Skip to content

Commit

Permalink
update cargo near new template image and image_digest (#288)
Browse files Browse the repository at this point in the history
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

---------

Co-authored-by: frol <[email protected]>
Co-authored-by: dj8yf0μl <[email protected]>
Co-authored-by: dj8yf0μl <[email protected]>
  • Loading branch information
4 people authored Jan 13, 2025
1 parent 000a8e9 commit 78094af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cargo-near-build/src/cargo_native/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78094af

Please sign in to comment.