Sep 12 – 14, 2022
Europe/Dublin timezone

rustc_codegen_gcc: A gcc codegen for the Rust compiler

Sep 12, 2022, 3:30 PM
"Herbert" (Clayton Hotel on Burlington Road)


Clayton Hotel on Burlington Road

Rust MC Rust MC


Antoni Boucher


The Rust programming language is becoming more and more popular: it's even considered as another language allowed in the Linux kernel.
That brought up the question of architecture support as the official Rust compiler is based on LLVM.
This project, rustc_codegen_gcc, is meant to plug the GCC backend to the Rust compiler frontend as a relatively low-effort: it's a shared library reusing the same API provided by the Rust compiler as the cranelift backend.
As such, it could be used by some Linux projects as a way to provide their Rust softwares to more architectures.
This talk will present this project, its progress and will feature a discussion about what needs to be done to start using it for projects like Rust for Linux.

I agree to abide by the anti-harassment policy Yes

Primary author

Antoni Boucher

Presentation materials

Diamond Sponsor

Platinum Sponsors

Gold Sponsors

Silver Sponsors

Speaker Gift Sponsor

Catchbox Sponsor

Video Recording Sponsor

Livestream Sponsor

T-Shirt Sponsor

Conference Services Provided by