Expand description
Offers an easy way to build a rustc sysroot from source.
Structs§
- Sysroot
Builder - Information about a to-be-created sysroot.
Enums§
- Build
Mode - The build mode to use for this sysroot.
- Sysroot
Config - Settings controlling how the sysroot will be built.
- Sysroot
Status - 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.