Rust Additions For GCC 15 Bring Support For if-let Statements, Other Improvements

GNU

This past week a lot of new code for the Rust “gccrs” front-end began being merged for the upcoming GCC 15.1 stable release… The Polonius borrow checker landed along with other big improvements to the Rust code ahead of this annual GNU Compiler Collection release. A third round was merged on Friday adding yet more gccrs features.

Arthur Cohen of Embecosm landed another set of 146 patches into the GCC 15 codebase on Friday. This third round includes support for Rust’s “if let” statements, and some reported massive changes to their AST/HIR internal representations, and support for Clone and Copy being fully implemented.

if-let statement

Support for PartialOrd and PartialEq is also still expected to be upstreamed for gccrs before the GCC 15.1 stable release. Cohen commented with the

Source link

Leave a Comment