From fd11b2fe1c4d3ebbc44f48fc53dcdea1748a1b87 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 15 Jan 2024 00:48:44 +0800 Subject: [PATCH] exclude more vendored libraries --- rustfmt.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rustfmt.toml b/rustfmt.toml index 58d9fb5ac..af1cdf0ce 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -2,12 +2,13 @@ # - run this on Linux to fix Windows changing .rs files to +x: # `find . -name "*.rs" -exec chmod -x {} \;` -# Don't format these vendored-in files +# Don't format libraries that have been vendored in ignore = [ "libs/mass-storage/**", "loader/curve25519-dalek-loader/**", "loader/ed25519-dalek-loader/**", "loader/sha2-loader/**", + "imports/getrandom/**", ] # I can't rely on contributors using .editorconfig