about summary refs log tree commit diff
path: root/pkgs/aszlig/rustfmt/config.patch
blob: 6864b79701ad2f2319c07b1e09478d17af433382 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/tools/rustfmt/src/config/mod.rs b/src/tools/rustfmt/src/config/mod.rs
index cd90e090..a6db6da1 100644
--- a/src/tools/rustfmt/src/config/mod.rs
+++ b/src/tools/rustfmt/src/config/mod.rs
@@ -282,7 +282,7 @@ impl Config {
                 }
             }
 
-            Ok(None)
+            Ok(Some(env!("DEFAULT_CONFIG_FILE").into()))
         }
 
         match resolve_project_file(dir)? {