Re-exportsΒ§
use crate::util::data_structures::HashMap;πuse std::env;πuse std::env;πuse std::hash::Hash;πuse std::hash::Hash;πuse std::hash::Hasher;πuse std::path::Path;πuse std::path::PathBuf;πuse std::sync::Mutex;πuse anyhow::Context as _;πuse cargo_util::ProcessBuilder;πuse cargo_util::ProcessError;πuse cargo_util::paths;πuse filetime::FileTime;πuse serde::Deserialize;πuse serde::Deserialize;πuse serde::Serialize;πuse serde::Serialize;πuse tracing::debug;πuse tracing::info;πuse tracing::warn;πuse crate::compiler::apply_env_config;πuse crate::util::interning::InternedString;πuse crate::util::CargoResult;πuse crate::util::GlobalContext;πuse crate::util::StableHasher;π
StructsΒ§
- Cache π
- It is a well known fact that
rustcis not the fastest compiler in the world. What is less known is that evenrustc --version --verbosetakes about a hundred milliseconds! Because we need compiler version info even for no-op builds, we cache it here, based on compilerβs mtime and rustupβs current toolchain. - Cache
Data π - Output π
- Rustc
- Information on the
rustcexecutable
FunctionsΒ§
- process_
fingerprint π - rustc_
fingerprint π