mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-19 14:38:47 +00:00
feat(core/rust): allow debug feature in tests (means we can print things)
This commit is contained in:
parent
5a83a7171d
commit
437b9e5991
@ -30,11 +30,11 @@ rgb_led = []
|
|||||||
test = [
|
test = [
|
||||||
"button",
|
"button",
|
||||||
"cc",
|
"cc",
|
||||||
|
"debug",
|
||||||
"glob",
|
"glob",
|
||||||
"micropython",
|
"micropython",
|
||||||
"protobuf",
|
"protobuf",
|
||||||
"ui",
|
"ui",
|
||||||
"ui_debug",
|
|
||||||
"dma2d",
|
"dma2d",
|
||||||
"touch",
|
"touch",
|
||||||
]
|
]
|
||||||
|
@ -33,6 +33,7 @@ pub mod ui;
|
|||||||
pub mod strutil;
|
pub mod strutil;
|
||||||
|
|
||||||
#[cfg(feature = "debug")]
|
#[cfg(feature = "debug")]
|
||||||
|
#[cfg(not(test))]
|
||||||
#[panic_handler]
|
#[panic_handler]
|
||||||
/// More detailed panic handling. The difference against
|
/// More detailed panic handling. The difference against
|
||||||
/// default `panic` below is that this "debug" version
|
/// default `panic` below is that this "debug" version
|
||||||
|
Loading…
Reference in New Issue
Block a user