File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
ci/docker/loongarch64-unknown-linux-gnu Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 3838 - target : i686-unknown-linux-gnu
3939 os : ubuntu-latest
4040 rust : nightly
41+ - target : loongarch64-unknown-linux-gnu
42+ os : ubuntu-latest
43+ rust : nightly
4144 # MIPS targets disabled since they are dropped to tier 3.
4245 # See https://github.com/rust-lang/compiler-team/issues/648
4346 # - target: mips-unknown-linux-gnu
Original file line number Diff line number Diff line change 1+ ARG IMAGE=ubuntu:24.04
2+ FROM $IMAGE
3+
4+ RUN apt-get update && \
5+ apt-get install -y --no-install-recommends \
6+ gcc libc6-dev qemu-user-static ca-certificates \
7+ gcc-14-loongarch64-linux-gnu libc6-dev-loong64-cross
8+
9+ ENV CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER=loongarch64-linux-gnu-gcc-14 \
10+ CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_RUNNER=qemu-loongarch64-static \
11+ CC_loongarch64_unknown_linux_gnu=loongarch64-linux-gnu-gcc-14 \
12+ QEMU_LD_PREFIX=/usr/loongarch64-linux-gnu \
13+ RUST_TEST_THREADS=1
You can’t perform that action at this time.
0 commit comments