-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
extend x.py so it is easy to pass custom -Z flags when building after stage 0 #47658
Comments
So we can try to solve this generally (I know @eddyb has requested |
@Mark-Simulacrum I think I prefer
But what to call that final one I don't know. Maybe |
|
Okay, I'll try and get an implementation of that up by the end of the week. I've assigned myself, but of course, if anyone wants to do this they are welcome to.. |
…crichton Add per-stage RUSTFLAGS: RUSTFLAGS_STAGE_{0,1,2} and RUSTFLAGS_STAGE_NOT_0 Fixes rust-lang#47658. r? @alexcrichton
…crichton Add per-stage RUSTFLAGS: RUSTFLAGS_STAGE_{0,1,2} and RUSTFLAGS_STAGE_NOT_0 Fixes rust-lang#47658. r? @alexcrichton
We'd like to start trying to bootstrap with
-Znll
enabled. From what I can tell, there is no easy way to do this at present: usingRUSTFLAGS=-Znll
will cause the flag to be passed to all stages, but the support for NLL in stage0 is not up to the task.We could extend x.py to support
RUSTFLAGS_STAGE{0,1,2}
(which would get "copied into" the RUSTFLAGS environment when building stage 0, 1, or 2.Or we could make some kind of flag.
It might also be nice to just support
RUSTFLAGS_NOT_STAGE0
since usually that's what you want.Or maybe there's an existing solution here?
The text was updated successfully, but these errors were encountered: