format: skip vendored rust depend dirs
What changed, and why it matters
This commit simply tells the project's code-formatting script to ignore two vendored Rust dependency directories when searching for C files to format. It is a build/tooling hygiene change with no security relevance.
No security action needed. Treat as routine tooling/maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds two -path ... -prune exclusions to the find command in scripts/format: src/rust/bitbox-secp256k1/depend and src/rust/fatfs-sys/depend. These directories contain vendored third-party Rust dependencies; the change prevents the project’s C formatter from descending into them. There is no functional code change, no bug fix, and no security patch.
Changed components
scripts/formatInspect captured patch +2 / −0
diff --git a/scripts/format b/scripts/format
index 7460ad8..0c0e4cc 100755
--- a/scripts/format
+++ b/scripts/format
@@ -19,6 +19,8 @@ FILES=$(find src/ test/ \
\( \
-path src/ui/fonts -o \
-path external/vendor -o \
+ -path src/rust/bitbox-secp256k1/depend -o \
+ -path src/rust/fatfs-sys/depend -o \
-name "ugui*" \
\) -prune -o \( -name "*.c" -o -name "*.h" \) -print)
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.