Skip to content

Commit 1af80ad

Browse files
committed
cargo: workaround for successful compilation...
for aarch64 musl target. Signed-off-by: Diana Popa <[email protected]>
1 parent cf0b22e commit 1af80ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.cargo/config

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
[build]
22
target = "x86_64-unknown-linux-musl"
3+
4+
[target.aarch64-unknown-linux-musl]
5+
linker = "aarch64-linux-gnu-gcc"
6+
rustflags = [ "-C", "target-feature=+crt-static", "-C", "link-arg=-lgcc" ]

0 commit comments

Comments
 (0)