Skip to content

Add x.py check --stage 1 #46955

Closed
Closed
@Diggsey

Description

@Diggsey

When modifying the interface between platform-specific/non-platform-specific parts of the codebase, proper testing requires being able to build for every supported target, which is very impractical. Ideally x.py would support cargo check such that platform specific code could still be validated and type checked without needing the corresponding cross-compiling C toolchains.

This requires at least #44737 to be fixed to be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-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