Skip to content

Commit

Permalink
Merge pull request #316 from fuzzypixelz/fix/static-link-musl
Browse files Browse the repository at this point in the history
feat: Statically link C runtime on `-musl` targets
  • Loading branch information
milyin authored Apr 8, 2024
2 parents 7b133c8 + 5aa776c commit 81343bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[target.x86_64-unknown-linux-musl]
rustflags = "-Ctarget-feature=-crt-static"

[target.aarch64-unknown-linux-musl]
rustflags = "-Ctarget-feature=-crt-static"

0 comments on commit 81343bc

Please sign in to comment.