about summary refs log tree commit diff
path: root/src/librustc_incremental/persist/data.rs
blob: 49b4bb061141cb29e880b050b11519dbd2a709ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//! The data that we will serialize and deserialize.

use rustc::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,
}