We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7ccfc6 commit 60c07c8Copy full SHA for 60c07c8
src/librustc_codegen_llvm/back/lto.rs
@@ -565,7 +565,8 @@ fn thin_lto(cgcx: &CodegenContext<LlvmCodegenBackend>,
565
}));
566
}
567
568
- // Save the accumulated ThinLTO import information
+ // Save the curent ThinLTO import information for the next compilation
569
+ // session, overwriting the previous serialized imports (if any).
570
if let Some(path) = import_map_path {
571
if let Err(err) = curr_import_map.save_to_file(&path) {
572
let msg = format!("Error while writing ThinLTO import data: {}", err);
0 commit comments