Skip to content

Commit bffe880

Browse files
committed
Enforce formatting for rustc_codegen_cranelift
1 parent 028c6f1 commit bffe880

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rustfmt.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ignore = [
1919
"library/backtrace",
2020
"library/portable-simd",
2121
"library/stdarch",
22-
"compiler/rustc_codegen_cranelift",
2322
"compiler/rustc_codegen_gcc",
2423
"src/doc/book",
2524
"src/doc/edition-guide",
@@ -36,4 +35,9 @@ ignore = [
3635
"src/tools/rust-analyzer",
3736
"src/tools/rustfmt",
3837
"src/tools/rust-installer",
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/example",
42+
"compiler/rustc_codegen_cranelift/scripts",
3943
]

0 commit comments

Comments
 (0)