-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Support per-stage RUSTFLAGS in rustbuild. #33609
Copy link
Copy link
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-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
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-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Right now rustbuild invokes cargo which wants to rebuild the world if it sees a different
RUSTFLAGSvalue, while my workflow involves changingRUSTFLAGSjust to test stage1+ with-Z orbit.It would be nice to have passing
--stage1-rustflags "-Z orbit"to the python script (or the environment variable `RUSTFLAGS1="-Z orbit") just work.Currently the Makefiles have something similar but it doesn't actually work for
compiletest, justrustc.