From 8e8956fdfb3812f776d64ef46083468b290b41ce Mon Sep 17 00:00:00 2001 From: donmor Date: Mon, 17 Apr 2023 11:17:15 +0800 Subject: [PATCH 1/6] Update linux.rs --- src/sys/ioctl/linux.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sys/ioctl/linux.rs b/src/sys/ioctl/linux.rs index 0c0a209053..214d9e8c60 100644 --- a/src/sys/ioctl/linux.rs +++ b/src/sys/ioctl/linux.rs @@ -41,6 +41,7 @@ mod consts { target_arch = "s390x", target_arch = "x86_64", target_arch = "aarch64", + target_arch = "loongarch64", target_arch = "riscv32", target_arch = "riscv64" ))] From 2738853cad8c4dc8f62378fcfb7819886d71da55 Mon Sep 17 00:00:00 2001 From: donmor Date: Mon, 17 Apr 2023 11:30:22 +0800 Subject: [PATCH 2/6] Update .cirrus.yml --- .cirrus.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 1ffe4611f4..7d9af53071 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -105,10 +105,13 @@ task: - name: Linux i686 musl env: TARGET: i686-unknown-linux-musl + - name: Linux LoongArch64 + env: + TARGET: loongarch64-unknown-linux-gnu - name: Linux MIPS env: TARGET: mips-unknown-linux-gnu - - name: Linux MIPS64 + - name:Linux MIPS64 env: TARGET: mips64-unknown-linux-gnuabi64 - name: Linux MIPS64 el From e3d9810a54b8eff823555fac84e0ed5d617f107e Mon Sep 17 00:00:00 2001 From: donmor Date: Mon, 17 Apr 2023 11:36:22 +0800 Subject: [PATCH 3/6] Update .cirrus.yml --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 7d9af53071..0586846cd3 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -111,7 +111,7 @@ task: - name: Linux MIPS env: TARGET: mips-unknown-linux-gnu - - name:Linux MIPS64 + - name: Linux MIPS64 env: TARGET: mips64-unknown-linux-gnuabi64 - name: Linux MIPS64 el From 7846bb4641f655d5f48b8a7927d6ba5760d943e3 Mon Sep 17 00:00:00 2001 From: donmor Date: Mon, 17 Apr 2023 11:52:03 +0800 Subject: [PATCH 4/6] Update Cross.toml Using a custom docker image --- Cross.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cross.toml b/Cross.toml index acd94f3088..97d430e15f 100644 --- a/Cross.toml +++ b/Cross.toml @@ -3,3 +3,5 @@ passthrough = [ "RUSTFLAGS", "RUST_TEST_THREADS" ] +[target.loongarch64-unknown-linux-gnu] +image = "ghcr.io/loongarchlinux/archlinux:latest" From f7e2f55d93aeaa2cbc0f6cbb7c5e19a6115753ec Mon Sep 17 00:00:00 2001 From: donmor Date: Sun, 21 Jul 2024 16:59:36 +0800 Subject: [PATCH 5/6] Update linux.rs Matches #2045 --- src/sys/ioctl/linux.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sys/ioctl/linux.rs b/src/sys/ioctl/linux.rs index 214d9e8c60..669d517906 100644 --- a/src/sys/ioctl/linux.rs +++ b/src/sys/ioctl/linux.rs @@ -41,9 +41,9 @@ mod consts { target_arch = "s390x", target_arch = "x86_64", target_arch = "aarch64", - target_arch = "loongarch64", target_arch = "riscv32", - target_arch = "riscv64" + target_arch = "riscv64", + target_arch = "loongarch64" ))] mod consts { #[doc(hidden)] From b29b8b1e8cb95b91d04b905658a4af3c6be94e0b Mon Sep 17 00:00:00 2001 From: donmor Date: Sun, 21 Jul 2024 17:01:50 +0800 Subject: [PATCH 6/6] Update Cross.toml Natively supported --- Cross.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cross.toml b/Cross.toml index 97d430e15f..acd94f3088 100644 --- a/Cross.toml +++ b/Cross.toml @@ -3,5 +3,3 @@ passthrough = [ "RUSTFLAGS", "RUST_TEST_THREADS" ] -[target.loongarch64-unknown-linux-gnu] -image = "ghcr.io/loongarchlinux/archlinux:latest"