Saves created temp directory if save-temps option is used.

This commit is contained in:
slo 2017-06-23 13:20:23 -04:00
parent bd32b1ba0d
commit a5c29cbf38

View File

@ -431,6 +431,10 @@ fn link_binary_output(sess: &Session,
out_filenames.push(out_filename);
}
if sess.opts.cg.save_temps {
let _ = tmpdir.into_path();
}
out_filenames
}