[][src]Crate rustc_codegen_utils

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Note

This API is completely unstable and subject to change.

Modules

codegen_backendInternal

The Rust compiler.

linkInternal
symbol_namesInternal

The Rust Linkage Model and Symbol Names

symbol_names_testInternal

Walks the crate looking for items/impl-items/trait-items that have either a rustc_symbol_name or rustc_def_path attribute and generates an error giving, respectively, the symbol name or def-path. This is used for unit testing the code that generates paths etc in all kinds of annoying scenarios.

Functions

check_for_rustc_errors_attrInternal

check for the #[rustc_error] annotation, which forces an error in codegen. This is used to write compile-fail tests that actually test that compilation succeeds without reporting an error.

provideInternal