1 # Run rustfmt with this config (it should be picked up automatically).
3 use_small_heuristics = "Max"
6 # by default we ignore everything in the repository
7 # tidy only checks files which are not ignored, each entry follows gitignore style
12 # tests for now are not formatted, as they are sometimes pretty-printing constrained
13 # (and generally rustfmt can move around comments in UI-testing incompatible ways)
16 # do not format submodules
19 "compiler/rustc_codegen_cranelift",
21 "src/doc/edition-guide",
22 "src/doc/embedded-book",
25 "src/doc/rust-by-example",
26 "src/doc/rustc-dev-guide",
32 "src/tools/rust-analyzer",
34 "src/tools/rust-installer",
36 # We do not format this file as it is externally sourced and auto-generated.
37 "library/std/src/sys/cloudabi/abi/cloudabi.rs",