News for hackers. Stuff that matters.
Re:GCC Rust Approved by GCC Steering Committee by wongarsu on Monday July 11, 2022 @12:54PM (#32058625)
And while you can link a gcc-compiled kernel with llvm-compiled rust, apparently you lose some link-time optimization, and with that control-flow integrity [1]. That's a potential security concern for the kernel, in addition to the usability issues of using two toolchains.

1: https://www.cs.ucy.ac.cy/~elathan/papers/tops20.pdf

Re:GCC Rust Approved by GCC Steering Committee by JoshTriplett on Monday July 11, 2022 @02:01PM (#32059481)
rustc_codegen_gcc will solve the same problem. I would expect it to be possible to do LTO and CFI across rustc_codegen_gcc and gcc-compiled C or C++ code.