Module rust

Source
Expand description

This module defines the Rust struct, which represents the [rust] table in the bootstrap.toml configuration file.

Structsยง

OptimizeVisitor ๐Ÿ”’
Rust
TOML representation of how the Rust build is configured.

Enumsยง

LldMode
LLD in bootstrap works like this:
RustOptimize

Constantsยง

VALID_CODEGEN_BACKENDS ๐Ÿ”’

Functionsยง

check_incompatible_options_for_ci_rustc
Compares the current Rust options against those in the CI rustc builder and detects any incompatible options. It does this by destructuring the Rust instance to make sure every Rust field is covered and not missing.
format_optimize_error_msg ๐Ÿ”’
validate_codegen_backends ๐Ÿ”’