Skip to content

Commit

Permalink
Don't use the new eprintln for stage0 and stage1
Browse files Browse the repository at this point in the history
I'm not entirely sure why (or if) this is needed.
  • Loading branch information
Esteban Küber committed Jul 22, 2018
1 parent 118b0f9 commit 6aa17a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/macros.rs
Expand Up @@ -221,10 +221,10 @@ macro_rules! eprint {
macro_rules! eprintln {
() => (eprint!("\n"));
($($arg:tt)*) => ({
#[cfg(not(stage0))] {
#[cfg(all(not(stage0), not(stage1)))] {
($crate::io::_eprint(format_args_nl!($($arg)*)));
}
#[cfg(stage0)] {
#[cfg(any(stage0, stage1))] {
eprint!("{}\n", format_args!($($arg)*))
}
})
Expand Down

0 comments on commit 6aa17a3

Please sign in to comment.