Skip to content

aarch64-unknown-linux-musl: do not set RUSTFLAGS #464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: beta
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