]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/tidy/src/lib.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / tools / tidy / src / lib.rs
index 90bf7a5e0a6877ba72c20bbbe2abf5805c76522a..598620fa29392fc9e31cdf55afb7a2d3df93c7ea 100644 (file)
@@ -33,10 +33,9 @@ macro_rules! t {
 
 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)*);
     });
 }
 
@@ -51,6 +50,8 @@ pub mod unstable_book;
 
 fn filter_dirs(path: &Path) -> bool {
     let skip = [
+        "src/binaryen",
+        "src/dlmalloc",
         "src/jemalloc",
         "src/llvm",
         "src/libbacktrace",