Skip to content

Commit

Permalink
add cargo config
Browse files Browse the repository at this point in the history
  • Loading branch information
jigsawye committed Nov 10, 2024
1 parent 50ac44c commit b4e4a8b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build]
target-dir = 'build/target'

[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]

[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = ["-C", "target-feature=-crt-static"]

0 comments on commit b4e4a8b

Please sign in to comment.