Skip to content

Commit 9cffd7f

Browse files
committed
rustc: Switch dsymutil status => output
Sometimes dsymutil writes to stdout/stderr which rust isn't reading, which may cause a deadlock. Closes #16060
1 parent 56f957f commit 9cffd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/back/link.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ fn link_natively(sess: &Session, trans: &CrateTranslation, dylib: bool,
12301230
// the symbols
12311231
if (sess.targ_cfg.os == abi::OsMacos || sess.targ_cfg.os == abi::OsiOS)
12321232
&& (sess.opts.debuginfo != NoDebugInfo) {
1233-
match Command::new("dsymutil").arg(out_filename).status() {
1233+
match Command::new("dsymutil").arg(out_filename).output() {
12341234
Ok(..) => {}
12351235
Err(e) => {
12361236
sess.err(format!("failed to run dsymutil: {}", e).as_slice());

0 commit comments

Comments
 (0)