Skip to content

Commit 5f89349

Browse files
committed
Fix the build issue of undefined import self::consts on the loongarch64
1 parent 08d8ba9 commit 5f89349

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sys/ioctl/linux.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ pub const TYPEBITS: ioctl_num_type = 8;
1919
target_arch = "mips64",
2020
target_arch = "powerpc",
2121
target_arch = "powerpc64",
22-
target_arch = "sparc64"
22+
target_arch = "sparc64",
23+
target_arch = "loongarch64"
2324
))]
2425
mod consts {
2526
#[doc(hidden)]

0 commit comments

Comments
 (0)