Skip to content

Commit f62b8b5

Browse files
committed
Fix missing archs for Linux FS_IOC flags
1 parent 7552e6f commit f62b8b5

File tree

1 file changed

+1
-1
lines changed
  • src/unix/linux_like/linux/arch/generic

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux/arch/generic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ cfg_if! {
227227
pub const FS_IOC32_SETFLAGS: ::Ioctl = 0x40046602;
228228
pub const FS_IOC32_GETVERSION: ::Ioctl = 0x80047601;
229229
pub const FS_IOC32_SETVERSION: ::Ioctl = 0x40047602;
230-
} else if #[cfg(target_arch = "x86_64")] {
230+
} else if #[cfg(any(target_arch = "x86_64", target_arch = "riscv64", target_arch = "aarch64"))] {
231231
pub const FS_IOC_GETFLAGS: ::Ioctl = 0x80086601;
232232
pub const FS_IOC_SETFLAGS: ::Ioctl = 0x40086602;
233233
pub const FS_IOC_GETVERSION: ::Ioctl = 0x80087601;

0 commit comments

Comments
 (0)