Implementation of compiling the compiler and standard library, in “check”-based modes.
Implementation of make clean
in rustbuild.
Implementation of running clippy on the compiler, standard library and various tools.
Implementation of compiling various phases of the compiler and standard
library.
Implementation of the various distribution aspects of the compiler.
Documentation generation for rustbuilder.
Runs rustfmt on the repository.
Implementation of the install aspects of the compiler.
Compilation of native dependencies like LLVM.
In some cases, parts of bootstrap need to change part of a target spec just for one or a few
steps. Adding these targets to rustc proper would “leak” this implementation detail of
bootstrap, and would make it more complex to apply additional changes if the need arises.
Implementation of the test-related targets of the build system.