Skip to content

Commit 6bc2878

Browse files
committed
Set musl to use -crt-static
1 parent af14a0a commit 6bc2878

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

native/nowayjose/.cargo/config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@ rustflags = [
33
"-C", "link-arg=-undefined",
44
"-C", "link-arg=dynamic_lookup",
55
]
6+
7+
[target.aarch64-unknown-linux-musl]
8+
rustflags = [
9+
"-C", "target-feature=-crt-static"
10+
]
11+
12+
[target.x86_64-unknown-linux-musl]
13+
rustflags = [
14+
"-C", "target-feature=-crt-static"
15+
]

0 commit comments

Comments
 (0)