Skip to content

Run compiler unit tests without stage 1 build #51748

Closed
@cramertj

Description

@cramertj

./x.py test src/libsyntax --stage 0 builds all the way through a stage 1 build before actually running the tests, so any changes to libsyntax require rebuilding all of rustc in order to rerun the unit tests. This is a really slow process, making it much harder to write and run unit tests for rustc code.

Metadata

Metadata

Labels

A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-enhancementCategory: An issue proposing an enhancement or a PR with one.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