fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.3 KiB42 linesraw
1# Run rustfmt with this config (it should be picked up automatically).
2version = "Two"
3use_small_heuristics = "Max"
4merge_derives = false
5
6# by default we ignore everything in the repository
7# tidy only checks files which are not ignored, each entry follows gitignore style
8ignore = [
9    "/build/",
10    "/*-build/",
11    "/build-*/",
12    "/vendor/",
13
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)
16    "tests",
17
18    # do not format submodules
19    # FIXME: sync submodule list with tidy/bootstrap/etc
20    # tidy/src/walk.rs:filter_dirs
21    "library/backtrace",
22    "library/portable-simd",
23    "library/stdarch",
24    "compiler/rustc_codegen_gcc",
25    "src/doc/book",
26    "src/doc/edition-guide",
27    "src/doc/embedded-book",
28    "src/doc/nomicon",
29    "src/doc/reference",
30    "src/doc/rust-by-example",
31    "src/doc/rustc-dev-guide",
32    "src/llvm-project",
33    "src/tools/cargo",
34    "src/tools/clippy",
35    "src/tools/miri",
36    "src/tools/rust-analyzer",
37    "src/tools/rustfmt",
38
39    # these are ignored by a standard cargo fmt run
40    "compiler/rustc_codegen_cranelift/y.rs", # running rustfmt breaks this file
41    "compiler/rustc_codegen_cranelift/scripts",
42]