File tree 2 files changed +16
-0
lines changed
ci/docker/loongarch64-unknown-linux-gnu
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 38
38
- target : i686-unknown-linux-gnu
39
39
os : ubuntu-latest
40
40
rust : nightly
41
+ - target : loongarch64-unknown-linux-gnu
42
+ os : ubuntu-latest
43
+ rust : nightly
41
44
# MIPS targets disabled since they are dropped to tier 3.
42
45
# See https://github.com/rust-lang/compiler-team/issues/648
43
46
# - 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