Skip to content

Commit

Permalink
pin v1.16 ahash to 0.8.3 (#34650)
Browse files Browse the repository at this point in the history
* pin ahash to 0.8.3

* ci: commit cargo-build-sbf test lockfiles to allow pinning yanked dep
  • Loading branch information
t-nelson committed Jan 5, 2024
1 parent b58c6ea commit 471956c
Show file tree
Hide file tree
Showing 4 changed files with 3,047 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ edition = "2021"

[workspace.dependencies]
aes-gcm-siv = "0.10.3"
ahash = "0.8.3"
ahash = "=0.8.3"
anyhow = "1.0.71"
ark-bn254 = "0.4.0"
ark-ec = "0.4.0"
Expand Down
14 changes: 14 additions & 0 deletions scripts/cargo-for-all-lock-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,21 @@ else
files="$(git ls-files :**Cargo.lock)"
fi

exclude_lockfiles=()
exclude_lockfiles+=(sdk/cargo-build-sbf/tests/crates/fail/Cargo.lock)
exclude_lockfiles+=(sdk/cargo-build-sbf/tests/crates/noop/Cargo.lock)

for lock_file in $files; do
skip=false
for exclude in "${exclude_lockfiles[@]}"; do
if [[ "$exclude" == "$lock_file" ]]; then
skip=true
break
fi
done
if [[ "$skip" == "true" ]]; then
continue
fi
if [[ -n $CI ]]; then
echo "--- [$lock_file]: cargo " "${shifted_args[@]}" "$@"
fi
Expand Down
Loading

0 comments on commit 471956c

Please sign in to comment.