Skip to content

Commit

Permalink
Link against libgcc to fix rust-lang/rust#46651
Browse files Browse the repository at this point in the history
  • Loading branch information
Gelbpunkt committed Sep 18, 2020
1 parent eefcb6e commit 413cc89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/docker/aarch64-unknown-linux-musl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM rust-aarch64-unknown-linux-musl

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

0 comments on commit 413cc89

Please sign in to comment.