Skip to content

Commit

Permalink
add config for aarch64 linux musl
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewilliamboswell committed Dec 29, 2024
1 parent 08c27ea commit 80a8577
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = ["-C", "target-feature=+crt-static"]

[profile.release]
lto = true
codegen-units = 1

0 comments on commit 80a8577

Please sign in to comment.