mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 14:34:58 +00:00
This includes a qemu update from 8.2.2 to 9.2.1 which should hopefully fix some bugs we have encountered. PowerPC64LE is skipped for now because the new version seems to cause a number of new SIGILLs.
16 lines
577 B
Docker
16 lines
577 B
Docker
ARG IMAGE=ubuntu:25.04
|
|
FROM $IMAGE
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
gcc libc6-dev ca-certificates \
|
|
gcc-arm-linux-gnueabi libc6-dev-armel-cross qemu-user-static
|
|
|
|
ENV TOOLCHAIN_PREFIX=arm-linux-gnueabi-
|
|
ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER="$TOOLCHAIN_PREFIX"gcc \
|
|
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_RUNNER=qemu-arm-static \
|
|
AR_arm_unknown_linux_gnueabi="$TOOLCHAIN_PREFIX"ar \
|
|
CC_arm_unknown_linux_gnueabi="$TOOLCHAIN_PREFIX"gcc \
|
|
QEMU_LD_PREFIX=/usr/arm-linux-gnueabi \
|
|
RUST_TEST_THREADS=1
|