error[E0432]: unresolved import `crate::general`
--> /home/alpine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linux-raw-sys-0.3.1/src/lib.rs:84:16
|
84 | use crate::general::{cmsghdr, msghdr};
| ^^^^^^^ could not find `general` in the crate root
The LoongArch architecture (LoongArch) is an Instruction Set Architecture (ISA) that has a RISC style. Documentations: ISA: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html ABI: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html More docs can be found at: https://loongson.github.io/LoongArch-Documentation/README-EN.html Due to the lower version of libc & linux-raw-sys, an error occurs when compiling on the loongarch64 architecture. For example: