Expand description
Information about the build related to rustc. This is a frontend interface informed by proc-macros at build time. Since the project is split into several crates, lower-level information is supplied from each crate during static initialization.
Staticsยง
- FEATURES ๐
- Processed list of enabled features across all project crates. This is generated from the data in FLAGS.
- FLAGS
- Raw capture of rustc flags used to build each crate in the project. Informed by rustc_flags_capture macro (one in each crateโs mod.rs). This is done during static initialization which is why itโs mutex-protected and pub. Should not be written to by anything other than our macro.
- RUSTC_
VERSION ๐
Functionsยง
- append_
features ๐ - features
- List of features enabled for the project.
- init_
features ๐ - version
- Version of the rustc compiler used during build.