rustc_interface

Module util

Source

Macros§

version_str
Returns a version string such as “1.46.0 (04488afe3 2020-08-24)” when invoked by an in-tree tool.

Constants§

DEFAULT_STACK_SIZE

Statics§

STACK_SIZE

Functions§

add_configuration
Adds target_feature = "..." cfgs for a variety of platform specific features (SSE, NEON etc.).
build_output_filenames
check_attr_crate_type 🔒
get_codegen_backend
Get the codegen backend based on the name and specified sysroot.
get_codegen_sysroot 🔒
get_rustc_path_inner 🔒
init_stack_size 🔒
load_backend_from_dylib 🔒
multiple_output_types_to_stdout 🔒
run_in_thread_pool_with_globals 🔒
run_in_thread_with_globals 🔒
rustc_path
rustc_version_str
Returns the version string for rustc itself (which may be different from a tool version).

Type Aliases§

MakeBackendFn
Function pointer type that constructs a new CodegenBackend.