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.

This function attempts to bypass the auto_da_alloc heuristic implemented by some filesystems such as btrfs and ext4. When renaming over a file that already exists then they will “helpfully” write back the source file before committing the rename in case a developer forgot some of the fsyncs in the open/write/fsync(file)/rename/fsync(dir) dance for atomic file updates.

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.