You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/embed/rust/src/maybe_trace.rs

16 lines
334 B

#[cfg(feature = "ui_debug")]
mod maybe_trace_private {
use crate::trace::Trace;
pub trait MaybeTrace: Trace {}
impl<T> MaybeTrace for T where T: Trace {}
}
#[cfg(not(feature = "ui_debug"))]
mod maybe_trace_private {
pub trait MaybeTrace {}
impl<T> MaybeTrace for T {}
}
pub use maybe_trace_private::MaybeTrace;