Skip to content

bootstrap sets -Zunstable-options on "check" but not "build", leading to build script reruns #116538

Closed
@RalfJung

Description

@RalfJung

When working on Miri I noticed "portable-atomics" gets rebuilt every time I switch between a check-build and actutally running tests. This boils down to RUSTFLAGS being different between the two invocations: in check builds it contains -Zunstable-options but in test builds it does not.

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.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