document ./x.py fmt
This commit is contained in:
parent
043e1aaf77
commit
6b6e7282f2
1 changed files with 9 additions and 0 deletions
|
|
@ -63,6 +63,15 @@ including:
|
|||
|
||||
Example: `./x.py test src/tools/tidy`
|
||||
|
||||
- **Formatting** – Rustfmt is integrated with the build system to enforce
|
||||
uniform style across the compiler. In the CI, we check that the formatting
|
||||
is correct.
|
||||
|
||||
Example: `./x.py fmt --check` checks formatting an exits with an error if
|
||||
formatting is needed.
|
||||
|
||||
Example: `./x.py fmt` runs rustfmt on the codebase.
|
||||
|
||||
- **Unit tests** – The Rust standard library and many of the Rust packages
|
||||
include typical Rust `#[test]` unittests. Under the hood, `x.py` will run
|
||||
`cargo test` on each package to run all the tests.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue