Skip to main content

Module build_runner

Module build_runner 

Source
Expand description

BuildRunner is the mutable state used during the build process.

Re-exportsยง

use cargo_util::collections::HashMap; ๐Ÿ”’
use cargo_util::collections::HashSet; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use std::sync::Mutex; ๐Ÿ”’
use crate::compiler::compilation; ๐Ÿ”’
use crate::compiler::compilation::UnitOutput; ๐Ÿ”’
use crate::compiler::locking::LockManager; ๐Ÿ”’
use crate::compiler; ๐Ÿ”’
use crate::compiler::Unit; ๐Ÿ”’
use crate::compiler::UserIntent; ๐Ÿ”’
use crate::compiler::artifact; ๐Ÿ”’
use crate::util::cache_lock::CacheLockMode; ๐Ÿ”’
use crate::util::errors::CargoResult; ๐Ÿ”’
use crate::workspace::PackageId; ๐Ÿ”’
use anyhow::Context as _; ๐Ÿ”’
use anyhow::bail; ๐Ÿ”’
use cargo_util::paths; ๐Ÿ”’
use cargo_util_terminal::report::Level; ๐Ÿ”’
use cargo_util_terminal::report::Message; ๐Ÿ”’
use filetime::FileTime; ๐Ÿ”’
use itertools::Itertools; ๐Ÿ”’
use jobserver::Client; ๐Ÿ”’
use super::RustdocFingerprint; ๐Ÿ”’
use super::custom_build; ๐Ÿ”’
use super::custom_build::BuildDeps; ๐Ÿ”’
use super::custom_build::BuildScriptOutputs; ๐Ÿ”’
use super::custom_build::BuildScripts; ๐Ÿ”’
use super::fingerprint::Checksum; ๐Ÿ”’
use super::fingerprint::Fingerprint; ๐Ÿ”’
use super::job_queue::JobQueue; ๐Ÿ”’
use super::layout::Layout; ๐Ÿ”’
use super::lto::Lto; ๐Ÿ”’
use super::unit_graph::UnitDep; ๐Ÿ”’
use super::unused_deps::UnusedDepState; ๐Ÿ”’
use super::BuildContext; ๐Ÿ”’
use super::Compilation; ๐Ÿ”’
use super::CompileKind; ๐Ÿ”’
use super::CompileMode; ๐Ÿ”’
use super::Executor; ๐Ÿ”’
use super::FileFlavor; ๐Ÿ”’
use self::compilation_files::CompilationFiles; ๐Ÿ”’
pub use self::compilation_files::Metadata;
pub use self::compilation_files::OutputFile;
pub use self::compilation_files::UnitHash;

Modulesยง

compilation_files ๐Ÿ”’
See CompilationFiles.

Structsยง

BuildRunner
Collection of all the stuff that is needed to perform a build.