Compiling libc v0.2.171error[E0432]: unresolved import `PT_FIRSTMACH` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.171/src/unix/bsd/netbsdlike/netbsd/riscv64.rs:1:5 |1 | use PT_FIRSTMACH; | ^^^^^^^^^^^^ no external crate `PT_FIRSTMACH`error[E0412]: cannot find type `__freg` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.171/src/unix/bsd/netbsdlike/netbsd/riscv64.rs:8:23 |8 | pub type __fregset = [__freg; _NFREG]; | ^^^^^^ help: a union with a similar name exists: `__fpreg` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.171/src/macros.rs:160:13 |160 | pub union $i { $($field)* } | ------------ similarly named union `__fpreg` defined hereerror[E0412]: cannot find type `__fpregset` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.171/src/unix/bsd/netbsdlike/netbsd/riscv64.rs:13:22 |8 | pub type __fregset = [__freg; _NFREG]; | -------------------------------------- similarly named type alias `__fregset` defined here...13 | pub __fregs: __fpregset, | ^^^^^^^^^^ help: a type alias with a similar name exists: `__fregset`error[E0412]: cannot find type `__fpregset` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.171/src/unix/bsd/netbsdlike/netbsd/riscv64.rs:13:22 |8 | pub type __fregset = [__freg; _NFREG]; | -------------------------------------- similarly named type alias `__fregset` defined here...13 | pub __fregs: __fpregset, | ^^^^^^^^^^ |help: a type alias with a similar name exists |13 - pub __fregs: __fpregset,13 + pub __fregs: __fregset, |help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.171/src/macros.rs:118:26 |118| pub struct $i<__fpregset> { $($field)* } | ++++++++++++Some errors have detailed explanations: E0412, E0432.For more information about an error, try `rustc --explain E0412`.error: could not compile `libc` (lib) due to 4 previous errors