Skip to main content

Module check

Module check 

Source
Expand description

Implementation of compiling the compiler and standard library, in “check”-based modes.

Re-exports§

use std::fs; 🔒
use std::path::Path; 🔒
use std::path::PathBuf; 🔒
use crate::core::backend::CodegenBackendKind; 🔒
use crate::core::build_steps::compile::ArtifactKeepMode; 🔒
use crate::core::build_steps::compile::add_to_sysroot; 🔒
use crate::core::build_steps::compile::run_cargo; 🔒
use crate::core::build_steps::compile::rustc_cargo; 🔒
use crate::core::build_steps::compile::std_cargo; 🔒
use crate::core::build_steps::compile::std_crates_for_make_run; 🔒
use crate::core::build_steps::tool; 🔒
use crate::core::build_steps::tool::SourceType; 🔒
use crate::core::build_steps::tool::TEST_FLOAT_PARSE_ALLOW_FEATURES; 🔒
use crate::core::build_steps::tool::ToolTargetBuildMode; 🔒
use crate::core::build_steps::tool::get_tool_target_compiler; 🔒
use crate::core::build_steps::tool::prepare_tool_cargo; 🔒
use crate::core::builder; 🔒
use crate::core::builder::Alias; 🔒
use crate::core::builder::Builder; 🔒
use crate::core::builder::Cargo; 🔒
use crate::core::builder::CommandLineStep; 🔒
use crate::core::builder::Kind; 🔒
use crate::core::builder::RunConfig; 🔒
use crate::core::builder::ShouldRun; 🔒
use crate::core::builder::Step; 🔒
use crate::core::builder::StepMetadata; 🔒
use crate::core::builder::crate_description; 🔒
use crate::core::compiler::Compiler; 🔒
use crate::core::config::TargetSelection; 🔒
use crate::core::session::Mode; 🔒
use crate::utils::build_stamp; 🔒
use crate::utils::build_stamp::BuildStamp; 🔒
use crate::utils::helpers::t; 🔒

Macros§

tool_check_step 🔒

Structs§

Bootstrap
BumpStage0
CargoMiri
Clippy
CompilerForCheck
Represents a compiler that can check something.
Compiletest
CoverageDump
CraneliftCodegenBackend
Check the Cranelift codegen backend.
FeaturesStatusDump
GccCodegenBackend
Check the GCC codegen backend.
Linkchecker
Miri
MiroptTestTools
PrepareRustcRmetaSysroot 🔒
Checks rustc using the given build_compiler for the given target, and produces a sysroot in the build directory that stores the generated .rmeta files.
PrepareStdRmetaSysroot 🔒
Checks std using the given build_compiler for the given target, and produces a sysroot in the build directory that stores the generated .rmeta files.
RmetaSysroot 🔒
Represents a proof that rustc was checked. Contains directories with .rmeta files generated by checking rustc for a specific target.
RunMakeSupport
RustAnalyzer
Rustc
Checks rustc using build_compiler.
Rustdoc
RustdocGuiTest
Rustfmt
Std
TestFloatParse
Tidy

Enums§

CheckKind 🔒
Allows individual check-step instances to keep track of whether they represent cargo check or cargo fix, independently of Builder::kind.

Functions§

prepare_compiler_for_check
Prepares a compiler that will check something with the given mode.
prepare_std 🔒
Prepare the standard library for checking something (that requires stdlib) using build_compiler.
run_tool_check_step 🔒
Used by the implementation of Step::run in tool_check_step!.