From bb92a6b56af5093cbcb7439715bd99b43238622c Mon Sep 17 00:00:00 2001 From: vdovhanych Date: Tue, 30 Jul 2024 16:48:58 +0200 Subject: [PATCH] chore: fix hardcoded x86 build --- core/SConscript.bootloader_emu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/SConscript.bootloader_emu b/core/SConscript.bootloader_emu index fb254c8765..a9083f8c6a 100644 --- a/core/SConscript.bootloader_emu +++ b/core/SConscript.bootloader_emu @@ -256,7 +256,7 @@ cmake_gen = env.Command( # Rust library # -RUST_TARGET = 'x86_64-unknown-linux-gnu' +RUST_TARGET = os.popen("rustc -vV | sed -n 's/host: //p'").read().strip() RUST_LIB = 'trezor_lib' if ARGUMENTS.get('TREZOR_EMULATOR_DEBUGGABLE', '0') == '1':