From 8659ab74f5a8f51308518405a970d1a1a6028f4e Mon Sep 17 00:00:00 2001 From: ko1N Date: Mon, 24 Nov 2025 20:21:09 +0100 Subject: [PATCH] Add ledger hardware wallet targets --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index dd38fb0..557aef9 100644 --- a/build.rs +++ b/build.rs @@ -85,6 +85,8 @@ fn main() -> Result<(), Box> { | "thumbv8m.base" | "thumbv8m.main" | "armebv7r" | "armv7r" => atomics.has_64 = false, // These ARMv7 targets have 32-bit pointers and 64-bit atomics. "armv7" | "armv7a" | "armv7s" => atomics.has_64 = true, + // Ledger hardware wallet targets + "nanosplus" | "stax" | "nanox" | "flex" => atomics.has_64 = false, // "riscv32imc-unknown-none-elf" and "riscv32imac-unknown-none-elf" are // both `target_arch = "riscv32", and have no stable `cfg`-discoverable // distinction. As such, the non-atomic RISC-V targets must be