We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4320a0c + 64afa4e commit 3403503Copy full SHA for 3403503
src/librustc/back/link.rs
@@ -955,8 +955,9 @@ pub fn link_binary(sess: Session,
955
sess.abort_if_errors();
956
}
957
958
- // Clean up on Darwin
959
- if sess.targ_cfg.os == abi::OsMacos {
+ // On OSX, debuggers needs this utility to get run to do some munging of the
+ // symbols
960
+ if sess.targ_cfg.os == abi::OsMacos && sess.opts.debuginfo {
961
// FIXME (#9639): This needs to handle non-utf8 paths
962
run::process_status("dsymutil", [output.as_str().unwrap().to_owned()]);
963
0 commit comments