Skip to content

Commit

Permalink
feat: add aarch64 linker configuration and update dependencies for aa…
Browse files Browse the repository at this point in the history
…rch64 targets

Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Nov 26, 2024
1 parent f5d5ef1 commit da4b7d2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@
rustdocflags = ["--document-private-items"]
# rustflags = "-C target-cpu=native -D warnings"
# incremental = true

[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 dist-workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ include = ["./config", "./USAGE.md", "./LICENSE"]

[dist.dependencies.chocolatey]
nasm = '*' # Required for building `aws-lc-sys` on Windows

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

0 comments on commit da4b7d2

Please sign in to comment.