|
|
Log in / Subscribe / Register

cargo and rustc dependency

cargo and rustc dependency

Posted Oct 16, 2025 10:42 UTC (Thu) by glaubitz (subscriber, #96452)
Parent article: Gccrs after libcore

> Last year, the project added a dependency on rustc to compile the Rust code used by the compiler itself. Many people dislike this dependency and would like to see it go away. Once the standard-library support is complete, though, the compiler should be able to bootstrap itself, allowing the eventual removal of the rustc dependency.

From what I remember, it was not a dependency on rustc that was introduced but on cargo but my information can be wrong or outdated.

Could someone clarify to me what dependencies on the Rust toolchain currently exists and what the longterm perspective is?

I'm particularly interested to learn whether it will be possible to bootstrap gccrs on an architecture which is not supported by LLVM and hence rustc such as PA-RISA (hppa) or SuperH (sh4).

PS: Please no discussions about the point on supporting old or obscure architectures.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds