Saves created temp directory if save-temps option is used.
This commit is contained in:
parent
bd32b1ba0d
commit
a5c29cbf38
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue