Re-exportsΒ§
use std::collections::HashMap;πuse std::env;πuse std::env;πuse std::ffi::OsString;πuse std::fs;πuse std::fs::File;πuse std::io::BufRead;πuse std::io::BufReader;πuse std::io::BufWriter;πuse std::io::ErrorKind;πuse std::io::Write;πuse std::path::Path;πuse std::path::PathBuf;πuse std::sync::Arc;πuse std::sync::Mutex;πuse std::sync::OnceLock;πuse build_helper::ci::CiEnv;πuse build_helper::git::PathFreshness;πuse build_helper::stage0_parser::VersionMetadata;πuse xz2::bufread::XzDecoder;πuse crate::core::build_steps::llvm::detect_llvm_freshness;πuse crate::core::config::toml::llvm::check_incompatible_options_for_ci_llvm;πuse crate::core::config::BUILDER_CONFIG_FILENAME;πuse crate::core::config::Config;πuse crate::core::config::TargetSelection;πuse crate::utils::build_stamp::BuildStamp;πuse crate::utils::exec::ExecutionContext;πuse crate::utils::exec::command;πuse crate::utils::helpers;πuse crate::utils::helpers::exe;πuse crate::utils::helpers::hex_encode;πuse crate::utils::helpers::move_file;πuse crate::utils::helpers::t;π
StructsΒ§
- Download
Context π - Only should be used for pre config initialization downloads.
EnumsΒ§
- Download
Source π
StaticsΒ§
FunctionsΒ§
- curl_
version π - download_
beta_ πtoolchain - download_
component π - download_
file π - download_
http_ πwith_ retries - download_
toolchain π - extract_
curl_ πversion - fix_
bin_ πor_ dylib - is_
download_ πci_ available - Checks whether the CI rustc is available for the given target triple.
- maybe_
download_ πrustfmt - NOTE: rustfmt is a completely different toolchain than the bootstrap compiler, so it canβt reuse target directories or artifacts
- path_
is_ πdylib - recorded_
entries π - remove π
- should_
fix_ πbins_ and_ dylibs - tempdir π
- Create a temporary directory in
outand return its path. - unpack π
- verify π