Module rustc_interface::util
source · Macros
Returns a version string such as “1.46.0 (04488afe3 2020-08-24)” when invoked by an in-tree tool.
Constants
Functions
Adds
target_feature = "..."
cfgs for a variety of platform
specific features (SSE, NEON etc.).Get the codegen backend based on the name and specified sysroot.
Returns the version string for
rustc
itself (which may be different from a tool version).Type Definitions
Function pointer type that constructs a new CodegenBackend.