Skip to content

Conversation

tshepang
Copy link
Member

@tshepang tshepang commented Sep 8, 2025

One can use unstable features on stable too, like via an env var

r? ghost

One can use unstable features on stable too, like via an env var
@rustbot rustbot added the S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content label Sep 8, 2025
@BoxyUwU
Copy link
Member

BoxyUwU commented Sep 8, 2025

That env var is not supposed to be used by anyone. It is very much true that for pretty much all purposes nightly is the only channel where you can use unstable features

@Noratrieb
Copy link
Member

yeah it's probably more useful to people for understanding the toolchains to leave it as is

@tshepang
Copy link
Member Author

tshepang commented Sep 8, 2025

the statement is misleading though, and it's not true... I will add intended

@jieyouxu
Copy link
Member

The current statement I find is accurate, and less confusing than trying to caveat it with "intended".

@tshepang
Copy link
Member Author

it would be accurate if a RUSTC_BOOTSTRAP did not exist, and that is something widely used

@BoxyUwU
Copy link
Member

BoxyUwU commented Sep 19, 2025

RUSTC_BOOTSTRAP is very much not widely used

@tshepang
Copy link
Member Author

I should of chosen a different word

@jieyouxu
Copy link
Member

jieyouxu commented Oct 4, 2025

I actually find removing the intended usage to be more confusing1, so I think we should retain current wording.

Footnotes

  1. Or less helpful.

@rustbot
Copy link
Collaborator

rustbot commented Oct 4, 2025

⚠️ Warning ⚠️

@tshepang
Copy link
Member Author

tshepang commented Oct 4, 2025

I see now how I made it less helpful. How about now...

  • I restored the explanation
  • I removed the false claim
  • I added the intent (to imply that people should avoid using feature gates in beta and stable)

Comment on lines +55 to +57
- **Nightly**: follows the `master` branch of the repo.
This is the only channel where unstable, incomplete, or experimental features
should be used (with feature gates).
Copy link
Member

@jieyouxu jieyouxu Oct 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: can you say something more like "are intended/designed to be usable through opt-in via feature gates"? (Well, ideally with a less confusing wording than what I wrote.) "Should" sounds a bit to me like a "weak recommendation/vibe", but this really is the intended stability versus experimentation design setup. RUSTC_BOOTSTRAP has nothing to do with the design intention, it is merely an internal implementation detail to make bootstrapping possible. I would also just say "unstable", since that's why we have different release channels. Whether said unstable feature is incomplete/experimental doesn't really matter.

@jieyouxu jieyouxu self-assigned this Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: this PR is waiting for a reviewer to verify its content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants