Skip to main content

prepare

Function prepare 

Source
pub fn prepare(
    snapshot: &Path,
    rustup_version: &str,
    channels: &[String],
    output: &Path,
    max_bytes: u64,
    source: &impl Source,
) -> Result<PathBuf>
Expand description

Copy a selected/collection snapshot into a fresh generation, add Rustup’s pinned catalog/installers, and explicitly promote dated channel triplets. The catalog is generated mirror policy; Rust manifests and shell script bytes remain upstream originals. No input or remote server is modified.