Check for eprintln on CI

This commit is contained in:
Aleksey Kladov
2020-04-06 16:58:16 +02:00
parent 2603a9e628
commit bf569f8b29
7 changed files with 38 additions and 12 deletions

View File

@@ -13,17 +13,8 @@
pub mod cli;
#[allow(unused)]
macro_rules! println {
($($tt:tt)*) => {
compile_error!("stdout is locked, use eprintln")
};
}
#[allow(unused)]
macro_rules! print {
($($tt:tt)*) => {
compile_error!("stdout is locked, use eprint")
};
macro_rules! eprintln {
($($tt:tt)*) => { stdx::eprintln!($($tt)*) };
}
mod vfs_glob;