-
-
Notifications
You must be signed in to change notification settings - Fork 15k
x.py fmt silently ignores argument #71094
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Ever since rustfmt was introduced into this repository, I used
./x.py fmt src/librustc_mirand similar commands to format only that part of the tree, thinking that this would cut down formatting time a bit. But I just realized that even when I do./x.py fmt src/asdfgh, it just formats the entire repository. Looks like the argument is being silently ignored.Ideally the argument should be honored, but at the least, there should be an error when passing an unexpected argument.