We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 298730e commit d34ad3cCopy full SHA for d34ad3c
src/librustc_trans/back/link.rs
@@ -692,7 +692,11 @@ fn link_natively(sess: &Session,
692
info!("linker stdout:\n{}", escape_string(&prog.stdout[..]));
693
},
694
Err(e) => {
695
- sess.fatal(&format!("could not exec the linker `{}`: {}", pname, e));
+ // Trying to diagnose https://github.com/rust-lang/rust/issues/33844
696
+ sess.struct_err(&format!("could not exec the linker `{}`: {}", pname, e))
697
+ .note(&format!("{:?}", &cmd))
698
+ .emit();
699
+ sess.abort_if_errors();
700
}
701
702
0 commit comments