mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 20:47:36 +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
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
sess.struct_warn("looks like the linker segfaulted when we tried to \
|
warn!(
|
||||||
call it, automatically retrying again")
|
"looks like the linker segfaulted when we tried to call it, \
|
||||||
.note(&format!("{:?}", cmd))
|
automatically retrying again. cmd = {:?}, out = {}.",
|
||||||
.note(&out)
|
cmd,
|
||||||
.emit();
|
out,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
match prog {
|
match prog {
|
||||||
|
Loading…
Reference in New Issue
Block a user