We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd57b76 commit 3d791d2Copy full SHA for 3d791d2
src/librustc_trans/back/link.rs
@@ -644,9 +644,9 @@ fn link_natively(sess: &Session,
644
let mut out = output.stderr.clone();
645
out.extend(&output.stdout);
646
let out = String::from_utf8_lossy(&out);
647
- let msg = "clang: error: unable to execute command: \
648
- Segmentation fault: 11";
649
- if !out.contains(msg) {
+ let msg_segv = "clang: error: unable to execute command: Segmentation fault: 11";
+ let msg_bus = "clang: error: unable to execute command: Bus error: 10";
+ if !(out.contains(msg_segv) || out.contains(msg_bus)) {
650
break
651
}
652
0 commit comments