1 2 3 4 5 6 7 8 9 10 11 12 13 14
/*#[cfg(feature = "debug_print")] //#[macro_export] macro_rules! dprintln { ($fmt:expr) => (eprintln!($fmt)); ($fmt:expr, $($arg:tt)*) => (eprintln!($fmt, $($arg)*)); } #[cfg(not(feature = "debug_print"))] //#[macro_export] */ macro_rules! dprintln { ($fmt:expr) => (); ($fmt:expr, $($arg:tt)*) => (); }