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 b5e602a commit 64afa4eCopy full SHA for 64afa4e
src/librustc/back/link.rs
@@ -956,8 +956,9 @@ pub fn link_binary(sess: Session,
956
sess.abort_if_errors();
957
}
958
959
- // Clean up on Darwin
960
- if sess.targ_cfg.os == abi::OsMacos {
+ // On OSX, debuggers needs this utility to get run to do some munging of the
+ // symbols
961
+ if sess.targ_cfg.os == abi::OsMacos && sess.opts.debuginfo {
962
// FIXME (#9639): This needs to handle non-utf8 paths
963
run::process_status("dsymutil", [output.as_str().unwrap().to_owned()]);
964
0 commit comments