fix(core): add prebuilt std/core for thumbv8m target
What changed, and why it matters
This commit updates the Trezor firmware build environment to include prebuilt Rust standard library support for a newer ARM processor target (thumbv8m, used in the T3 device model). It is a build tooling change with no visible security relevance.
No security action needed. Treat as routine build tooling maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change adds ‘thumbv8m.main-none-eabihf’ to the list of Rust nightly targets in shell.nix, alongside existing thumbv7em and thumbv7m targets. The comment labels are updated to reflect device model mappings (T3, T2, T1). This enables building firmware for the newer Cortex-M33-based T3 hardware. There is no code change, no patch to cryptographic or security logic, and no indication of a vulnerability fix.
Changed components
shell.nixbuild environment / Rust target configurationInspect captured patch +2 / −1
diff --git a/shell.nix b/shell.nix
index d92fd338..a7b9dc0e 100644
--- a/shell.nix
+++ b/shell.nix
@@ -55,7 +55,8 @@ let
rustProfiles = nixpkgs.rust-bin.nightly."2026-03-16";
rustNightly = rustProfiles.minimal.override {
targets = [
- "thumbv7em-none-eabihf" # TT
+ "thumbv8m.main-none-eabihf" # T3
+ "thumbv7em-none-eabihf" # T2
"thumbv7m-none-eabi" # T1
];
# we use rustfmt from nixpkgs because it's built with the nighly flag needed for wrap_comments
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.