News for hackers. Stuff that matters.
Re:The Core of Rust by kibwen on Thursday August 21, 2025 @05:09PM (#44978126)
To be precise, Rust files have supported shebangs since well before 1.0, there just wasn't really any built-in tool to point the shebang at. The new stuff in the relevant RFC is actually about Cargo, not Rust; the "Cargo frontmatter" syntax doesn't need to be added to Rust, it can just be stripped by Cargo before it hands off the file to rustc.
Re:The Core of Rust by epage on Thursday August 21, 2025 @05:45PM (#44978460)
T-lang and T-cargo still decided to add frontmatter to Rust, see https://rust-lang.github.io/rfcs/3503-frontmatter.html