Skip to content

Support per-stage RUSTFLAGS in rustbuild. #33609

Closed
@eddyb

Description

@eddyb

Right now rustbuild invokes cargo which wants to rebuild the world if it sees a different RUSTFLAGS value, while my workflow involves changing RUSTFLAGS just 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, just rustc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions