Skip to main content

Module save

Module save 

Source

Re-exportsยง

use std::fs; ๐Ÿ”’
use rustc_data_structures::sync::par_join; ๐Ÿ”’
use rustc_middle::dep_graph::DepGraph; ๐Ÿ”’
use rustc_middle::dep_graph::WorkProductMap; ๐Ÿ”’
use rustc_middle::query::on_disk_cache; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use rustc_serialize::Encodable as RustcEncodable; ๐Ÿ”’
use rustc_serialize::opaque::FileEncoder; ๐Ÿ”’
use rustc_session::IncrCompSession; ๐Ÿ”’
use rustc_session::Session; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use super::clean; ๐Ÿ”’
use super::file_format; ๐Ÿ”’
use crate::assert_dep_graph::assert_dep_graph; ๐Ÿ”’
use crate::diagnostics; ๐Ÿ”’
use super::data::*; ๐Ÿ”’
use super::fs::*; ๐Ÿ”’

Functionsยง

encode_work_product_index ๐Ÿ”’
save_dep_graph ๐Ÿ”’
Saves and writes the DepGraph to the file system.
save_work_product_index
Saves the work product index.