mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 12:37:37 +00:00
If the linker segfaulted, don't emit it as a warning.
Prevent spuriously breaking UI tests. See https://github.com/rust-lang/rust/pull/45489#issuecomment-340134944.
This commit is contained in:
parent
33400fbbcd
commit
d517668a08
@ -671,11 +671,12 @@ fn link_natively(sess: &Session,
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user