-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
rustc book: Outdated parameters for --print
#138698
Comments
That's because some of them are unstable.
What do you mean by "adjusted"? |
We should probably try to hide the unstable options on stable? Although that might be more difficult to do since I don't think stable/unstable is easy to query. |
Alphabetical order may be more beautiful.
I think so, too, otherwise it may cause confusion.Is it possible to mark as unstable? |
It should be possible to hide the unstable options on stable due to how print requests are handed: see rust/compiler/rustc_session/src/config.rs Lines 2035 to 2042 in a7fc463
Probably just pull out the "what is considered unstable print request" logic rust/compiler/rustc_session/src/config.rs Lines 2060 to 2076 in a7fc463
(There might be a bit more nuance to this, I haven't tried implementing it) |
Location
https://doc.rust-lang.org/rustc/command-line-arguments.html#--print-print-compiler-information
Summary
When I use
rustc ---print
, it reportsBut some of them can not be found in the corresponding chapter in rustc book. And the order in which the parameters are arranged needs to be adjusted.
The text was updated successfully, but these errors were encountered: