1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 20:11:00 +00:00

feat(core/rust): allow debug feature in tests (means we can print things)

This commit is contained in:
matejcik 2023-06-20 12:00:43 +02:00 committed by matejcik
parent 5a83a7171d
commit 437b9e5991
2 changed files with 2 additions and 1 deletions

View File

@ -30,11 +30,11 @@ rgb_led = []
test = [
"button",
"cc",
"debug",
"glob",
"micropython",
"protobuf",
"ui",
"ui_debug",
"dma2d",
"touch",
]

View File

@ -33,6 +33,7 @@ pub mod ui;
pub mod strutil;
#[cfg(feature = "debug")]
#[cfg(not(test))]
#[panic_handler]
/// More detailed panic handling. The difference against
/// default `panic` below is that this "debug" version