]> git.proxmox.com Git - rustc.git/blob - src/librustc_incremental/persist/data.rs
New upstream version 1.47.0+dfsg1
[rustc.git] / src / librustc_incremental / persist / data.rs
1 //! The data that we will serialize and deserialize.
2
3 use rustc_macros::{Decodable, Encodable};
4 use rustc_middle::dep_graph::{WorkProduct, WorkProductId};
5
6 #[derive(Debug, Encodable, Decodable)]
7 pub struct SerializedWorkProduct {
8 /// node that produced the work-product
9 pub id: WorkProductId,
10
11 /// work-product data itself
12 pub work_product: WorkProduct,
13 }