Crate rustc_build_sysroot

Source
Expand description

Offers an easy way to build a rustc sysroot from source.

Structs§

SysrootBuilder
Information about a to-be-created sysroot.

Enums§

BuildMode
The build mode to use for this sysroot.
SysrootConfig
Settings controlling how the sysroot will be built.
SysrootStatus
Whether a successful SysrootBuilder::build_from_source call found a cached sysroot or built a fresh one.

Functions§

encode_rustflags
Encode a list of rustflags for use in CARGO_ENCODED_RUSTFLAGS.
rustc_sysroot_src
Returns where the given rustc stores its sysroot source code.