Skip to content

Commit f464af4

Browse files
committed
Add RISC-V support on GNU/Linux
1 parent 1e39a28 commit f464af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/ioctl/linux.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub const NRBITS: ioctl_num_type = 8;
1414
#[doc(hidden)]
1515
pub const TYPEBITS: ioctl_num_type = 8;
1616

17-
#[cfg(any(target_arch = "mips", target_arch = "mips64", target_arch = "powerpc", target_arch = "powerpc64", target_arch = "sparc64"))]
17+
#[cfg(any(target_arch = "mips", target_arch = "mips64", target_arch = "powerpc", target_arch = "powerpc64", target_arch = "sparc64", target_arch = "riscv64"))]
1818
mod consts {
1919
#[doc(hidden)]
2020
pub const NONE: u8 = 1;

0 commit comments

Comments
 (0)