Saves created temp directory if save-temps option is used.
This commit is contained in:
parent
bd32b1ba0d
commit
a5c29cbf38
@ -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…
Reference in New Issue
Block a user