cc-rs
cc-rs copied to clipboard
Add Loongarch64 support
Loongarch is a new RISC architecture. Loongarch doc: https://github.com/loongson-community/LoongArch-Documentation/
Thanks! Is there an upstream rust target specification for this target?
Yes, the definition of this target is based on the rust target specification. And regarding rust's support for loongarch64 architecture, we are under development.
Hm I don't see the target here? https://github.com/rust-lang/rust/tree/master/compiler/rustc_target/src/spec
Sorry, we are still testing and developing rust-lang/rust locally. After the testing is completed, we will submit it to the upstream community.
Ah ok sounds good, would you be ok if I hold off on merging this until your target is closer to being merged into rust-lang/rust?
Of course. However, the integration of rust-lang/rust and its dependent library libc into the community may be a long-term work.
If cc-rs can be incorporated into the community, it will be friendly to users of the new architecture, because they do not need to manually adapt it locally every time they use it.
Yes that makes sense @zhaixiaojuan, but I prefer to have targets landed in rust-lang/rust before they're added here.
@alexcrichton The loongarch64-unknown-linux-gnu was added as a tier 3 target, could you review this patch again please?