|
|
Subscribe / Log in / New account

Living with the Rust trademark

Living with the Rust trademark

Posted Jul 22, 2022 5:27 UTC (Fri) by josh (subscriber, #17465)
In reply to: Living with the Rust trademark by NYKevin
Parent article: Living with the Rust trademark

Yes: if you use a stable Rust compiler, it won't let you use nightly-only features.

If you want to limit yourself to the features of a specific older Rust compiler, install that Rust compiler and compile with it; we ensure that rustup can install older versions of Rust. (Our standard recommendation for enforcing an MSRV of Rust 1.xy is to build against Rust 1.xy in CI; anything other than that would just be a proxy for what you're actually trying to do.)


to post comments

Living with the Rust trademark

Posted Jul 22, 2022 13:40 UTC (Fri) by foom (subscriber, #14868) [Link]

And, practically speaking, you need to do the same for C code. Continuing to use -std=c99 is only a very marginal help with ensuring that your codebase is limited to features supported by GCC 4.0, and will still compile with that old compiler.

You really just need to test your build with the versions you want to support.


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