Update compiler/rustc_codegen_ssa/src/back/link.rs

Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
This commit is contained in:
xizheyin 2025-05-02 23:14:18 +08:00
parent 72a9219e82
commit f66787a08d
No known key found for this signature in database
GPG key ID: 0A0D90BE99CEDEAD

View file

@ -195,10 +195,10 @@ pub fn link_binary(
tempfiles_for_stdout_output.push(out_filename);
}
}
check_link_info_print_request(sess, &codegen_results.crate_info.crate_types);
}
check_link_info_print_request(sess, &codegen_results.crate_info.crate_types);
// Remove the temporary object file and metadata if we aren't saving temps.
sess.time("link_binary_remove_temps", || {
// If the user requests that temporaries are saved, don't delete any.