Skip to content

x.py fix #53896

Closed
Closed
@zackmdavis

Description

@zackmdavis

#53816 (migrating part of the codebase to use '_ lifetimes in type names) ended up involving quite a lot of manual text-editing labor because, unfortunately, rustfix doesn't work with x.py. (You might think that you could run cargo fix on an individual crate, but after supplying missing feature flags and environment variables (RUSTC_ERROR_METADATA_DST, CFG_COMPILER_HOST_TRIPLE), you end up triggering an assertion that I don't know how to hack around.) It would be nice if there was an x.py fix that worked (even if the need won't come up very often).

This issue should probably receive the A-rustbuild, C-feature-request, T-infra, and P-low labels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions