Skip to content

Commit 35637ea

Browse files
committed
add loongarch64 sys.rs
Signed-off-by: Kaiyang Wu <[email protected]>
1 parent b794d9a commit 35637ea

File tree

3 files changed

+3543
-1
lines changed

3 files changed

+3543
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
- stable
7171
target:
7272
- riscv64gc-unknown-linux-gnu
73+
- loongarch64-unknown-linux-gnu
7374

7475
steps:
7576
- uses: actions/checkout@v4

src/sys/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ use libc::*;
2020
not(any(
2121
target_arch = "x86_64",
2222
target_arch = "aarch64",
23-
target_arch = "riscv64"
23+
target_arch = "riscv64",
24+
target_arch = "loongarch64"
2425
)),
2526
not(io_uring_skip_arch_check)
2627
))]

0 commit comments

Comments
 (0)