-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Description
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: using RUSTFLAGS=-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?
blipblop2222blipblop2222
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.