1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 06:18:07 +00:00

build(core): enable ui_debug for non-frozen emulator

This commit is contained in:
matejcik 2022-02-17 15:22:29 +01:00 committed by matejcik
parent 59b5f48dc1
commit 390411098a

View File

@ -682,7 +682,7 @@ def cargo_build():
features.append("bitcoin_only")
if UI2:
features.append("ui")
if PYOPT == "0":
if PYOPT == "0" or not FROZEN:
features.append("ui_debug")
return f'cd embed/rust; cargo build --profile {RUST_PROFILE} --target-dir=../../build/unix/rust --no-default-features --features "{" ".join(features)}"'