blob: ea0fd4eb7ee737b96d29fd07d9d2d844ecfa782a [file] [log] [blame]
//! The data that we will serialize and deserialize.
use rustc_middle::dep_graph::{WorkProduct, WorkProductId};
#[derive(Debug, RustcEncodable, RustcDecodable)]
pub struct SerializedWorkProduct {
/// node that produced the work-product
pub id: WorkProductId,
/// work-product data itself
pub work_product: WorkProduct,
}