Skip to content

We should build ALL Rust code in this repo in CI #136406

Open
@safinaskar

Description

@safinaskar

We should build ALL Rust code in this repo when we do ./x test in CI. Including subtrees. This is needed to ensure that contributors will not occasionally break anything, especially when doing tree-wide changes.

For example, in #134420 a contributor replaced tree-wide &PathBuf with &Path. Unfortunately, he broke ./x perf. This was not noticed, because src/tools/rustc-perf-wrapper is not built during ./x test CI. (Later he fixed that problem.)

So, please, build everything in ./x test CI, including subtrees.

I add "contributor roadblock", because I think this is minor contributor roadblock.

@rustbot label A-contributor-roadblock C-enhancement -C-bug

HEAD

fd19773

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustA-test-infraArea: test infrastructure (may span bootstrap/compiletest/more)A-testsuiteArea: The testsuite used to check the correctness of rustcC-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