|
|
Log in / Subscribe / Register

rustc_codegen_gcc

rustc_codegen_gcc

Posted Oct 9, 2025 17:21 UTC (Thu) by josh (subscriber, #17465)
Parent article: Gccrs after libcore

> But, Patry said, few people seem willing to use rustc_codegen_gcc; he was unsure why.

One reason, and one reason only: because we haven't made it installable via rustup yet, so it requires extensive manual setup to use.

We're working on fixing that, so you can install it via rustup, and that can then lead eventually to *automatically* installing it when you install a target that needs it.


to post comments

rustc_codegen_gcc

Posted Oct 9, 2025 19:42 UTC (Thu) by SLi (subscriber, #53131) [Link] (2 responses)

What would using it give that people don't get by default? More target architectures?

rustc_codegen_gcc

Posted Oct 9, 2025 19:57 UTC (Thu) by josh (subscriber, #17465) [Link] (1 responses)

More target architectures, cross-language LTO if you're compiling your C code with GCC, a competing backend that might generate faster or smaller code for some use cases.

rustc_codegen_gcc

Posted Oct 10, 2025 20:08 UTC (Fri) by koverstreet (✭ supporter ✭, #4296) [Link]

How has codegen been looking, have there been comparisons yet?

rustc_codegen_gcc

Posted Oct 14, 2025 19:14 UTC (Tue) by rywang014 (subscriber, #167182) [Link] (1 responses)

Could you share what's the technical difficulty behind rustc_codegen_gcc being not easily installable via rustup?

rustc_codegen_gcc

Posted Oct 14, 2025 20:00 UTC (Tue) by josh (subscriber, #17465) [Link]

My understanding is that it is a large number of smaller things. You can keep up with the progress on https://blog.antoyo.xyz/ , where the lead developer posts regular status updates, including work towards testing the backend in Rust CI and work towards distributing it. There's also a dedicated Zulip channel where all that work gets coordinated.


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