Skip to content

Commit

Permalink
Merge #464
Browse files Browse the repository at this point in the history
464: aarch64-unknown-linux-musl: do not set RUSTFLAGS r=reitermarkus a=jonas-schievink

rust-lang/rust#46651 has been fixed, and this helps with #463

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
  • Loading branch information
3 people authored Oct 24, 2020
2 parents 9789c6d + 9d82aa8 commit bf0fe0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
vmImage: $(VM_IMAGE)
variables:
VM_IMAGE: ubuntu-latest
TOOLCHAIN: 1.42.0
TOOLCHAIN: 1.47.0
CARGO_NET_RETRY: 3
CARGO_HTTP_CHECK_REVOKE: false
strategy:
Expand Down
3 changes: 0 additions & 3 deletions docker/Dockerfile.aarch64-unknown-linux-musl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ RUN ln -sf \
/usr/local/aarch64-linux-musl/lib/ld-musl-aarch64.so.1
ENV QEMU_LD_PREFIX=/usr/local/aarch64-linux-musl

# Workaround for https://github.com/rust-lang/rust/issues/46651
ENV RUSTFLAGS="-C link-arg=-lgcc"

ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc \
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUNNER=qemu-aarch64 \
CC_aarch64_unknown_linux_musl=aarch64-linux-musl-gcc \
Expand Down

0 comments on commit bf0fe0b

Please sign in to comment.