Files
rust/compiler/rustc_incremental/src/persist/data.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
379 B
Rust
Raw Normal View History

//! The data that we will serialize and deserialize.
use rustc_macros::{Decodable, Encodable};
2020-03-29 16:41:09 +02:00
use rustc_middle::dep_graph::{WorkProduct, WorkProductId};
#[derive(Debug, Encodable, Decodable)]
pub(crate) struct SerializedWorkProduct {
/// node that produced the work-product
pub id: WorkProductId,
/// work-product data itself
pub work_product: WorkProduct,
}