Skip to content

Commit 60c07c8

Browse files
committed
review feedback: fix comment.
1 parent f7ccfc6 commit 60c07c8

File tree

1 file changed

+2
-1
lines changed
  • src/librustc_codegen_llvm/back

1 file changed

+2
-1
lines changed

src/librustc_codegen_llvm/back/lto.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,8 @@ fn thin_lto(cgcx: &CodegenContext<LlvmCodegenBackend>,
565565
}));
566566
}
567567

568-
// Save the accumulated ThinLTO import information
568+
// Save the curent ThinLTO import information for the next compilation
569+
// session, overwriting the previous serialized imports (if any).
569570
if let Some(path) = import_map_path {
570571
if let Err(err) = curr_import_map.save_to_file(&path) {
571572
let msg = format!("Error while writing ThinLTO import data: {}", err);

0 commit comments

Comments
 (0)