Closed saethlin closed 2 months ago
@saethlin Thanks for your report, I'll submit a fix soon, the support (include libstd/libc) for NuttX is in early stage, there are still many issues at present, sorry for that
No need to apologize, just saying something because I saw something :)
When using
-Zbuild-std=core --target=riscv64imac-unknown-nuttx-elf
I seewhich seems like an indicator that something is broken.
I think LLVM is seeing a mismatch between https://github.com/rust-lang/rust/blob/9649706eada1b2c68cf6504356efb058f68ad739/compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs#L24 and the lack of a
+d
in https://github.com/rust-lang/rust/blob/9649706eada1b2c68cf6504356efb058f68ad739/compiler/rustc_target/src/spec/targets/riscv64imac_unknown_nuttx_elf.rs#L27But of course I don't know this target, or whether this is somehow a bug in LLVM.
cc @no1wudi