Skip to content

Commit 413cc89

Browse files
committed
Link against libgcc to fix rust-lang/rust#46651
1 parent eefcb6e commit 413cc89

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM rust-aarch64-unknown-linux-musl
22

33
ENV CC_aarch64_unknown_linux_musl=aarch64-linux-musl-gcc \
4-
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc
4+
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc \
5+
RUSTFLAGS="-C target-feature=+crt-static -C link-arg=-lgcc"

0 commit comments

Comments
 (0)