News for hackers. Stuff that matters.
Re:Linux 6.1 Officially Promoted to Being an LTS Kernel by seanw444 on Wednesday February 08, 2023 @11:11AM (#34710102)
Other than the headline of "Rust kernel module mainlined" I don't know what this entails. Do you need the entire rustc/cargo toolchain to compile this portion of the kernel? Or have they implemented some Rust compiler in gcc that it uses?
Re:Linux 6.1 Officially Promoted to Being an LTS Kernel by conradev on Wednesday February 08, 2023 @11:22AM (#34710316)
Rust support was merged into GCC in December: https://www.phoronix.com/news/GCC-13-Rust-Merged
Re:Linux 6.1 Officially Promoted to Being an LTS Kernel by chaosite on Wednesday February 08, 2023 @11:30AM (#34710468)
That doesn't sound right, are you saying that the kernel depends on an unreleased version of GCC (13.1?)
Re:Linux 6.1 Officially Promoted to Being an LTS Kernel by Narishma on Wednesday February 08, 2023 @12:38PM (#34711624)
No, it doesn't. It uses the regular LLVM compiler.
Re:Linux 6.1 Officially Promoted to Being an LTS Kernel by conradev on Wednesday February 08, 2023 @02:14PM (#34713230)
Nope – the kernel currently requires LLVM to compile any Rust code

GCC 13.1 will bring the first LLVM-free Rust kernel builds