denisidoro / navi

An interactive cheatsheet tool for the command-line
Apache License 2.0
14.61k stars 489 forks source link

Update libc & linux-raw-sys to support loongarch64 #898

Closed zhaixiaojuan closed 1 month ago

zhaixiaojuan commented 1 month ago

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:

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
welcome[bot] commented 1 month ago

Thanks for opening this pull request!

jackandroselv commented 1 month ago

您好!您的邮件我已收到,我会尽快的查阅邮件。谢谢您的来信!

welcome[bot] commented 1 month ago

Congrats on merging your first pull request!