Skip to content

Commit 6aa17a3

Browse files
author
Esteban Küber
committed
Don't use the new eprintln for stage0 and stage1
I'm not entirely sure why (or if) this is needed.
1 parent 118b0f9 commit 6aa17a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,10 @@ macro_rules! eprint {
221221
macro_rules! eprintln {
222222
() => (eprint!("\n"));
223223
($($arg:tt)*) => ({
224-
#[cfg(not(stage0))] {
224+
#[cfg(all(not(stage0), not(stage1)))] {
225225
($crate::io::_eprint(format_args_nl!($($arg)*)));
226226
}
227-
#[cfg(stage0)] {
227+
#[cfg(any(stage0, stage1))] {
228228
eprint!("{}\n", format_args!($($arg)*))
229229
}
230230
})

0 commit comments

Comments
 (0)