Skip to content

Commit 78bfc06

Browse files
committed
chore: fix hardcoded x86 build
1 parent 5f04a09 commit 78bfc06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/SConscript.bootloader_emu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ cmake_gen = env.Command(
256256
# Rust library
257257
#
258258

259-
RUST_TARGET = 'x86_64-unknown-linux-gnu'
259+
RUST_TARGET = os.popen("rustc -vV | sed -n 's/host: //p'").read().strip()
260260
RUST_LIB = 'trezor_lib'
261261

262262
if ARGUMENTS.get('TREZOR_EMULATOR_DEBUGGABLE', '0') == '1':

0 commit comments

Comments
 (0)