1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 05:18:08 +00:00

chore: fix hardcoded x86 build

This commit is contained in:
vdovhanych 2024-07-30 16:48:58 +02:00 committed by matejcik
parent 415d62bc66
commit bb92a6b56a

View File

@ -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':