Skip to content

Commit c801c56

Browse files
committed
Do not run rustfmt on the compiler-builtins subtree
This will get checked in the compiler-builtins repository. The rules are slightly different from rust-lang/rust since `use_small_heuristics = "Max"` tends to create difficult to read output with math-heavy code (e.g. multiple `if` statements with numbers are small enough that they sometimes get collapsed into a single line).
1 parent fcb3000 commit c801c56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ignore = [
2929

3030
# Do not format submodules.
3131
"library/backtrace",
32+
"library/compiler-builtins",
3233
"library/portable-simd",
3334
"library/stdarch",
3435
"src/doc/book",

0 commit comments

Comments
 (0)