Module rustc_interface::util

source ·

Constants

STACK_SIZE 🔒

Functions

Adds target_feature = "..." cfgs for a variety of platform specific features (SSE, NEON etc.).
Returns the “commit date” of HEAD of the Git repo from which rustc was built as a static string.
Returns the full SHA1 hash of HEAD of the Git repo from which rustc was built.
Get the codegen backend based on the name and specified sysroot.
Returns a version string such as “0.12.0-dev”.
Like a thread::Builder::spawn followed by a join(), but avoids the need for 'static bounds.
Returns a version string such as “1.46.0 (04488afe3 2020-08-24)”

Type Definitions

Function pointer type that constructs a new CodegenBackend.