x.py fmt
silently ignores argument
#71094
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Ever since rustfmt was introduced into this repository, I used
./x.py fmt src/librustc_mir
and 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.
The text was updated successfully, but these errors were encountered: