]> git.lizzy.rs Git - rust.git/blob - src/librustc_incremental/persist/data.rs
Do not base path to append extension
[rust.git] / src / librustc_incremental / persist / data.rs
1 //! The data that we will serialize and deserialize.
2
3 use rustc::dep_graph::{WorkProduct, WorkProductId};
4
5 #[derive(Debug, RustcEncodable, RustcDecodable)]
6 pub struct SerializedWorkProduct {
7     /// node that produced the work-product
8     pub id: WorkProductId,
9
10     /// work-product data itself
11     pub work_product: WorkProduct,
12 }