bootstrap::core::build_steps

Module compile

Source
Expand description

Implementation of compiling various phases of the compiler and standard library.

This module contains some of the real meat in the bootstrap build system which is where Cargo is used to compile the standard library, libtest, and the compiler. This module is also responsible for assembling the sysroot as it goes along from the output of the previous stage.

Structsยง

  • RustcLink ๐Ÿ”’
    RustcLink copies all of the rlibs from the rustc build into the previous stageโ€™s sysroot. This is necessary for tools using rustc_private, where the previous compiler will build a tool against the next compiler. To build a tool against a compiler, the rlibs of that compiler that it links against must be in the sysroot of the compiler thatโ€™s doing the compiling.
  • StdLink ๐Ÿ”’

Enumsยง

Constantsยง

Functionsยง