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
14 # tests for now are not formatted, as they are sometimes pretty-printing constrained
15 # (and generally rustfmt can move around comments in UI-testing incompatible ways)
18 # do not format submodules
20 "library/portable-simd",
22 "compiler/rustc_codegen_cranelift",
23 "compiler/rustc_codegen_gcc",
25 "src/doc/edition-guide",
26 "src/doc/embedded-book",
29 "src/doc/rust-by-example",
30 "src/doc/rustc-dev-guide",
36 "src/tools/rust-analyzer",
38 "src/tools/rust-installer",