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:
parent
5a83a7171d
commit
437b9e5991
@ -30,11 +30,11 @@ rgb_led = []
|
||||
test = [
|
||||
"button",
|
||||
"cc",
|
||||
"debug",
|
||||
"glob",
|
||||
"micropython",
|
||||
"protobuf",
|
||||
"ui",
|
||||
"ui_debug",
|
||||
"dma2d",
|
||||
"touch",
|
||||
]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user