Prevent spuriously breaking UI tests.
See https://github.com/rust-lang/rust/pull/45489#issuecomment-
340134944.
break
}
- sess.struct_warn("looks like the linker segfaulted when we tried to \
- call it, automatically retrying again")
- .note(&format!("{:?}", cmd))
- .note(&out)
- .emit();
+ warn!(
+ "looks like the linker segfaulted when we tried to call it, \
+ automatically retrying again. cmd = {:?}, out = {}.",
+ cmd,
+ out,
+ );
}
match prog {