2 ms·
What if I told you… there was a simple, constant environment variable you could set to make the stable compiler forget it isn’t a nightly?
by johncolanduoni 10mo ago
What if I told you… there was a simple, constant environment variable you could set to make the stable compiler forget it isn’t a nightly?
- nialv7 10mo agothe point is unstable features aren't guaranteed to not break after a compiler update. hence the specific version thing.
- estebank 10mo agoWhen it comes to nightly features use, it is good to note that a stable compiler, a nightly corresponding to the date beta for that stable was branched out and an arbitrary nightly are different. A branched-off nightly might have had beta back ports for fixing stable features that the nightly will not have, and a nightly feature that is subtly broken on stable but isn't used in std will not have received a backport. So using nightly feature on stable might mean every now and then skipping a stable version, and using a nightly compiler means having to do thorough testing after updating on arbitrary days. Any given nightly has high chances of being fine, but every update brings the possibility of bugs.