Skip to content

Commit

Permalink
fix: cargo index fetch bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed May 25, 2024
1 parent 7f908c9 commit ab48626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pre-build = [
# https://aws.github.io/aws-lc-rs/requirements/linux.html
"apt-get update",
"apt-get install --assume-yes libclang1 cargo",
"cargo install --force --locked bindgen-cli",
"CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install --force --locked bindgen-cli",
]

[build.env]
Expand All @@ -14,7 +14,7 @@ pre-build = [
# Install NASM for rustls, which deps on aws-lc-rs by default, and it needs NASM
"apt-get update",
"apt-get install --assume-yes libclang1 nasm cargo",
"cargo install --force --locked bindgen-cli",
"CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install --force --locked bindgen-cli",
]

[target.aarch64-unknown-linux-gnu]
Expand Down

0 comments on commit ab48626

Please sign in to comment.