Skip to content

Commit

Permalink
Fix cargo-dist generation of arm64 linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre committed Jun 29, 2024
1 parent c995e25 commit ca252c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .config/cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[env]
CC_aarch64_unknown_linux_musl = "aarch64-linux-gnu-gcc"

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-gnu-gcc"
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ targets = [
]
# Publish jobs to run in CI
pr-run-mode = "plan"

[workspace.metadata.dist.dependencies.apt]
gcc-aarch64-linux-gnu = { version = '*', targets = ["aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl"] }

0 comments on commit ca252c9

Please sign in to comment.