Repository navigation
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)
Description
Activity
- addedT-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)
on May 13, 2016 Did rustbuild ever get support for this? This appears to also be breaking
chrootbuilds that need to pass per-stagesysrootvalues.I'm going to unassign @alexcrichton from this; I think others should be able to implement this and as far as I know they don't have any particular concern with this specific bug.
- addedC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
on Jul 25, 2017 - addedC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.and removedC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
on Jul 25, 2017 We support this via
RUSTFLAG_STAGE_NOT_0andRUSTFLAGS_STAGE_0set in the environment today.Reacted by Eduard-Mihai Burtescu@Mark-Simulacrum I wonder if we should switch to
RUSTFLAGS_BOOTSTRAPandRUSTFLAGS_NOT_BOOTSTRAP.That would make sense, I'll reopen to track that.
- added a commit that references this issue
on Aug 20, 2019
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)
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.