about summary refs log tree commit diff
path: root/src/librustc_middle
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2020-03-31 10:41:59 +1100
committerAlex Crichton <alex@alexcrichton.com>2020-05-01 08:14:39 -0700
commitd4e5e1bcffe7feb150d061985eb03c6e09ebb9f7 (patch)
tree5a98126d77776fe5d040e1c0ddec26ec04f17681 /src/librustc_middle
parentfd61d06772d17c6242265d860fbfb5eafd282caa (diff)
Don't copy bytecode files into the incr. comp. cache.
It's no longer necessary now that bitcode is embedded into object files.

This change meant that `WorkProductFileKind::Bytecode` is no longer
necessary, which means that type is no longer necessary, which allowed
several places in the code to become simpler.
Diffstat (limited to 'src/librustc_middle')
-rw-r--r--src/librustc_middle/dep_graph/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_middle/dep_graph/mod.rs b/src/librustc_middle/dep_graph/mod.rs
index 4786426792c..ef97f457c19 100644
--- a/src/librustc_middle/dep_graph/mod.rs
+++ b/src/librustc_middle/dep_graph/mod.rs
@@ -12,7 +12,7 @@ mod dep_node;
 pub(crate) use rustc_query_system::dep_graph::DepNodeParams;
 pub use rustc_query_system::dep_graph::{
     debug, hash_result, DepContext, DepNodeColor, DepNodeIndex, SerializedDepNodeIndex,
-    WorkProduct, WorkProductFileKind, WorkProductId,
+    WorkProduct, WorkProductId,
 };
 
 pub use dep_node::{label_strs, DepConstructor, DepKind, DepNode, DepNodeExt};