-
Notifications
You must be signed in to change notification settings - Fork 924
add 'unstable options' command line option #1975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi Nick, this might be something I can tackle. Where can I find more info about this bug (rationale/context)? |
So the motivation here is that when we are distributed with Rustup there will be both nightly (unstable) and other (stable) versions of Rustfmt. To get the unstable features, the user will have to opt-in by running In terms of implementation there are a few steps:
|
Hi Nick, I have sent a PR for this issue. Sorry for not communicating beforehand. I have question about this one.
I have used CFG_RELEASE_CHANNEL to detect which version of rust we are using. Is this right approach? I didn't felt it was very reliable. |
Yes, that is good. |
Closed by #1998 |
No description provided.
The text was updated successfully, but these errors were encountered: