bitbox02-sys/build.rs: remove duplicate da14531_power_down
What changed, and why it matters
This commit removes a duplicate function name from a Rust build script list. It is a harmless cleanup change with no security relevance.
No action needed; this is a trivial cleanup commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In src/rust/bitbox02-sys/build.rs, the commit deletes one occurrence of “da14531_power_down” from the ALLOWLIST_FNS array. The same string appears earlier in the array, so this change simply eliminates a redundant entry. It does not alter generated bindings, runtime behavior, or security properties.
Changed components
src/rust/bitbox02-sys/build.rsInspect captured patch +0 / −1
diff --git a/src/rust/bitbox02-sys/build.rs b/src/rust/bitbox02-sys/build.rs
index cd3c21b..87d56c1 100644
--- a/src/rust/bitbox02-sys/build.rs
+++ b/src/rust/bitbox02-sys/build.rs
@@ -71,7 +71,6 @@ const ALLOWLIST_FNS: &[&str] = &[
"da14531_protocol_poll",
"da14531_set_product",
"da14531_set_name",
- "da14531_power_down",
"emit_event",
"empty_create",
"fake_memory_factoryreset",
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.