Skip to content

Simplify --exclude syntax and make it more useful #103201

Closed
@jyn514

Description

@jyn514

I think we should have a holistic conversation about what excludes should look like. The current syntax is currently quite baroque and AFAIK @pietroalbini's CI scripts are the only ones using most of the features. Slapping git-style ignores on top seems like it will make things more confusing, not less.

That said, I agree the behavior is confusing and there's room for improvement; I'd love to get rid of the doc:: prefixes somehow and make the various paths unambiguous.

See https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/excludes for the discussion; this issue is just a placeholder so it doesn't get lost.

Originally posted by @jyn514 in #102706 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-mediumCall for participation: Medium difficulty. Experience needed to fix: Intermediate.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.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