-
-
Notifications
You must be signed in to change notification settings - Fork 15k
x.py sometimes causes spurious rebuilds of rustc #80849
Copy link
Copy link
Closed
Labels
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustArea: Makes things more difficult for new or seasoned contributors to RustC-bugCategory: This is a bug.Category: This is a bug.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
Metadata
Metadata
Assignees
Labels
A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustArea: Makes things more difficult for new or seasoned contributors to RustC-bugCategory: This is a bug.Category: This is a bug.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.
I tried this:
src/test/ui/fn/issue-80844-no-gate.rs
fn returns_generator() -> _ { //~^ ERROR the type placeholder `_` is not allowed within types on item signatures [E0121] //~| NOTE not allowed in type signatures || yield 0 //~^ ERROR yield syntax is experimental - //~^ NOTE see issue + //~| NOTE see issue }$ ./x.py test src/test/ui/fnI expected to see this happen: the
ui/fntest suite is run, possibly building the testsuite binary using the existing stage 1rustc.Instead, this happened: the stage 1
rustcis rebuilt before running the test suite.This seems to happen randomly; I had rerun the test suite quite a few times using the same command with no issues. This is rather inconvenient since even with 16 logical cores, building
rustctakes several minutes and grinds my machine to a halt.This doesn't just seem to happen when running the test suite, but I'm less confident about saying that rebuilds after modifying rustc's codebase are spurious.
@rustbot modify labels +A-contributor-roadblock +A-rustbuild