bytecodealliance/rustix

Failed to build on LoongArch

zoze0 opened this issue · 0 comments

error[E0425]: cannot find value `FS_IOC_GETFLAGS` in module `c`
    --> /home/test/.cargo/bin/registry/src/rsproxy.cn-0dccff568467c15b/rustix-0.38.30/src/fs/ioctl.rs:142:57
     |
142  |         let ctl = ioctl::Getter::<ioctl::BadOpcode<{ c::FS_IOC_GETFLAGS }>, u32>::new();
     |                                                         ^^^^^^^^^^^^^^^
     |
    ::: /home/test/.cargo/bin/registry/src/rsproxy.cn-0dccff568467c15b/libc-0.2.152/src/unix/linux_like/linux/mod.rs:2921:1

libc-0.2.153 fixes this problem.