macro_rules! tidy_error {
($bad:expr, $fmt:expr, $($arg:tt)*) => ({
- use std::io::Write;
*$bad = true;
- write!(::std::io::stderr(), "tidy error: ").expect("could not write to stderr");
- writeln!(::std::io::stderr(), $fmt, $($arg)*).expect("could not write to stderr");
+ eprint!("tidy error: ");
+ eprintln!($fmt, $($arg)*);
});
}
fn filter_dirs(path: &Path) -> bool {
let skip = [
+ "src/binaryen",
+ "src/dlmalloc",
"src/jemalloc",
"src/llvm",
"src/libbacktrace",