-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
change to -Zunpretty=X
instead of --unpretty=X -Zunstable-options
#47395
Comments
Ok, calling those mentoring instructions is a bit of a stretch, but there are at least a few tips =) feel free to ping me |
@nikomatsakis I could try my hand at this :) |
@mark-i-m cool =) do you need any more tips to get started? |
Just confirming one thing: the unpretty flag doesn't affect dependency
tracking; it should be UNTRACKED, right?
On Jan 14, 2018 7:01 AM, "Niko Matsakis" <notifications@github.com> wrote:
@mark-i-m <https://github.com/mark-i-m> cool =) do you need any more tips
to get started?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47395 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIazwEUnBvZ6Um7scDphJk7TBMjJ__UBks5tKfqPgaJpZM4Rc1-8>
.
|
Untracked should be fine. |
IIUC, no other |
If I use the |
I think |
Made a PR :) |
Change the --unpretty flag to -Z unpretty First PR 😄 ! -Z unpretty no longer requires -Z unstable-options. Also, I mildly changed the syntax of the flag to match the other -Z flags. All uses of the flag take the form `unpretty=something` where something can either `string` or `string=string` (see the help messages of the CLI). Fix rust-lang#47395 r? @nikomatsakis EDIT: apparently rust-highfive doesn't see edits...
Currently, the
--unpretty
switch, which dumps internal compiler IRs etc, requires-Zunstable-options
. It should just be-Zunpretty
.Honestly I can't recall precisely how all this option code works, but here are a few pointers to what might need to be changed:
unpretty
opt group:rust/src/librustc/session/config.rs
Lines 1512 to 1519 in 0b90e4e
debugging options (
-Z
flags) are defined by this crazy macro:rust/src/librustc/session/config.rs
Lines 1045 to 1239 in 0b90e4e
When editing this code, I usually try to find some comparable option and copy-and-paste the relevant code. 👅
The text was updated successfully, but these errors were encountered: