What changed, and why it matters
This is a one-character build-system fix that renames a feature flag from 'dbg_console_sysview' to 'dbg_console_system_view'. It corrects a mismatch between the build tooling and the actual feature name used elsewhere in the project, restoring the ability to compile with SystemView tracing enabled. There is no security relevance in the change itself.
No security action needed. Treat as a normal build-fix commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit changes a single string in core/embed/xtask/src/feature_resolver.rs. The xtask build helper resolves command-line console type selections into Cargo feature flags. The previous value ‘dbg_console_sysview’ did not match the real feature name, so selecting SystemView console would fail the build. The patch aligns the emitted feature with the expected ‘dbg_console_system_view’ feature. No runtime code, cryptographic logic, or trust boundary is touched.
Changed components
core/embed/xtask/src/feature_resolver.rsInspect captured patch +1 / −1
diff --git a/core/embed/xtask/src/feature_resolver.rs b/core/embed/xtask/src/feature_resolver.rs
index 8dd36417..814e945f 100644
--- a/core/embed/xtask/src/feature_resolver.rs
+++ b/core/embed/xtask/src/feature_resolver.rs
@@ -40,7 +40,7 @@ pub fn resolve_features(args: &BuildArgs) -> Result<ResolvedBuild> {
(Project::Prodtest, Some(ConsoleType::Vcp)) => (),
(_, Some(ConsoleType::Vcp)) => features.push("dbg_console_vcp".into()),
(_, Some(ConsoleType::Swo)) => features.push("dbg_console_swo".into()),
- (_, Some(ConsoleType::SystemView)) => features.push("dbg_console_sysview".into()),
+ (_, Some(ConsoleType::SystemView)) => features.push("dbg_console_system_view".into()),
(_, None) => (),
}
}
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.