Skip to main content

Module rustc

Module rustc 

Source
Expand description

Rust compiler metadata captured for the running build.

Participating project crates contribute their compiler flags through build-time macros and static initialization, allowing project-wide compiler information to be queried here.

Staticsยง

FEATURES ๐Ÿ”’
Processed list of enabled features across participating project crates. This is generated from the data in FLAGS.
FLAGS
Compiler flags captured for participating project crates.
RUSTC_VERSION ๐Ÿ”’

Functionsยง

append_features ๐Ÿ”’
features
List of features enabled for the project.
init_features ๐Ÿ”’
version
Version of the rustc compiler used during build.