about summary refs log tree commit diff
path: root/src/bootstrap/format.rs
AgeCommit message (Collapse)AuthorLines
2019-12-22Remove most files from format ignore listMark Rousskov-20/+23
Also moves formatting to use edition 2018, and to be done in parallel. This brings near-linear speed ups (at least with a small amount of cores).
2019-12-22Do not run if rustfmt.toml does not existMark Rousskov-2/+7
distcheck (and generally publishing tarballs) will not package rustfmt.toml and we for now still support running tidy etc in those tarballs.
2019-12-21Implement rustfmt running manually using ignore crateMark Rousskov-15/+46
This replaces cargo-fmt with rustfmt with --skip-children which should allow us to format code without running into rust-lang/rustfmt#3930. This also bumps up the version of rustfmt used to a more recent one.
2019-12-21Implement `./x.py fmt [--check]`.Adam Perry-0/+28