Module util

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.

Structsยง

DummyCodegenBackend ๐Ÿ”’

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_abi_required_features ๐Ÿ”’
Ensures that all target features required by the ABI are present. Must be called after unstable_target_features has been populated!
check_attr_crate_type ๐Ÿ”’
get_codegen_backend
Get the codegen backend based on the name and specified sysroot.
get_codegen_sysroot ๐Ÿ”’
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.