Skip to content

Commit

Permalink
Set musl to use -crt-static
Browse files Browse the repository at this point in the history
  • Loading branch information
scrogson committed Jan 5, 2024
1 parent af14a0a commit 6bc2878
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions native/nowayjose/.cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,13 @@ rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

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

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

0 comments on commit 6bc2878

Please sign in to comment.