Expand description
Implementation of the install aspects of the compiler.
This module is responsible for installing the standard library, compiler, and documentation.
Re-exportsยง
use std::path::Component;๐use std::path::Path;๐use std::path::PathBuf;๐use std::env;๐use std::env;๐use std::fs;๐use crate::core::build_steps::dist;๐use crate::core::build_steps::tool::RustcPrivateCompilers;๐use crate::core::builder::Builder;๐use crate::core::builder::CommandLineStep;๐use crate::core::builder::Kind;๐use crate::core::builder::RunConfig;๐use crate::core::builder::ShouldRun;๐use crate::core::compiler::Compiler;๐use crate::core::config::Config;๐use crate::core::config::TargetSelection;๐use crate::utils::exec::command;๐use crate::utils::helpers::t;๐use crate::utils::tarball::GeneratedTarball;๐
Macrosยง
- install ๐
Structsยง
- Cargo
- Clippy
- Docs
- Llvm
Bitcode Linker - Llvm
Tools - Miri
- Rust
Analyzer - Rustc
- Rustc
Codegen Cranelift - Rustc
Dev - Rustfmt
- Src
- Std
Constantsยง
- SHELL ๐
Functionsยง
- default_
path ๐ - install_
sh ๐ - is_
dir_ ๐writable_ for_ user - prepare_
dir ๐ - sanitize_
sh ๐ - We have to run a few shell scripts, which choke quite a bit on both
\characters and onC:\paths, so normalize both of them away.