Tried and failed to use unwinding crate: shall do it myself tomorrow.
This commit is contained in:
@@ -237,12 +237,12 @@ macro_rules! print {
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! printlnerr {
|
||||
macro_rules! eprintln {
|
||||
() => ($crate::printerr!("\n"));
|
||||
($($arg:tt)*) => ($crate::printerr!("{}\n", format_args!($($arg)*)));
|
||||
($($arg:tt)*) => ($crate::eprint!("{}\n", format_args!($($arg)*)));
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! printerr {
|
||||
macro_rules! eprint {
|
||||
($($arg:tt)*) => ($crate::prelude::_print_err(format_args!($($arg)*)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user