From c801c569dc2b264ee4b6db024155093ea1d616d0 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sun, 18 May 2025 15:42:35 +0000 Subject: [PATCH] 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). --- rustfmt.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/rustfmt.toml b/rustfmt.toml index d9857a7e3e78..689e390b990c 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -29,6 +29,7 @@ ignore = [ # Do not format submodules. "library/backtrace", + "library/compiler-builtins", "library/portable-simd", "library/stdarch", "src/doc/book",