diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depotfmt.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/depotfmt.nix b/tools/depotfmt.nix index 21e71bf3b66b..dbd3a31a0d80 100644 --- a/tools/depotfmt.nix +++ b/tools/depotfmt.nix @@ -26,6 +26,13 @@ let "third_party/nix/tests/*", "third_party/nix/src/tests/*" ] + + [formatter.rust] + command = "${pkgs.rustfmt}/bin/rustfmt" + includes = [ "*.rs" ] + excludes = [ + "users/tazjin/*", + ] ''; # helper tool for formatting the depot interactively |