about summary refs log tree commit diff
path: root/src/librustc_incremental
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2018-08-20 17:13:01 +0200
committerMichael Woerister <michaelwoerister@posteo>2018-08-31 15:22:52 +0200
commit64a738d8ce457b8d9b3a750ca61835214b6b438c (patch)
tree9c4dd1fe97e19a1cbc21ecdea38c6cdebdabf992 /src/librustc_incremental
parent72c1993b8e9ec095bab299b4cc298be7eb9bf1ee (diff)
Support local ThinLTO with incremental compilation.
Diffstat (limited to 'src/librustc_incremental')
-rw-r--r--src/librustc_incremental/persist/work_product.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_incremental/persist/work_product.rs b/src/librustc_incremental/persist/work_product.rs
index cfe59b1f672..c285934d75b 100644
--- a/src/librustc_incremental/persist/work_product.rs
+++ b/src/librustc_incremental/persist/work_product.rs
@@ -36,6 +36,7 @@ pub fn copy_cgu_workproducts_to_incr_comp_cache_dir(
                      WorkProductFileKind::Object => "o",
                      WorkProductFileKind::Bytecode => "bc",
                      WorkProductFileKind::BytecodeCompressed => "bc.z",
+                     WorkProductFileKind::PreThinLtoBytecode => "pre-thinlto.bc",
                  };
                  let file_name = format!("{}.{}", cgu_name, extension);
                  let path_in_incr_dir = in_incr_comp_dir_sess(sess, &file_name);