]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_incremental/src/persist/data.rs
Rollup merge of #99772 - ehuss:reenable-submodule-archive, r=Mark-Simulacrum
[rust.git] / compiler / rustc_incremental / src / 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 }