|
|
Subscribe / Log in / New account

editions

editions

Posted Aug 20, 2024 3:47 UTC (Tue) by himi (subscriber, #340)
In reply to: editions by josh
Parent article: FreeBSD considers Rust in the base system

My reading of this was that they wanted to set a *maximum* edition on Rust code that could go in the base - so that developers could target 2024 and anything older, but not 2027 (until they updated the requirements).

I suspect a minimum supported version would work better, given the way features stabilise in Rust currently - the only advantage of specifying an edition I can think of is that it might make it easier to integrate with other implementations like gcc-rs . . . though I guess we won't really know how that might work until we have actual practically useful alternative implementations.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds