Module cargo::core::compiler::build_runner::compilation_files
source ยท Expand description
See CompilationFiles
.
Structsยง
- Collection of information about the files emitted by the compiler, and the output directory structure.
- Meta
Info ๐Information about the metadata hashes used for aUnit
. - The
Metadata
is a hash used to make unique file names for each unit in a build. It is also used for symbol mangling. - Info about a single file emitted by the compiler.
Constantsยง
- METADAT
A_ ๐VERSION This is a generic version number that can be changed to make backwards-incompatible changes to any file structures in the output directory. For example, the fingerprint files or the build-script output files.
Functionsยง
- compute_
metadata ๐Computes the metadata hash for the givenUnit
. - hash_
rustc_ ๐version Hash the version of rustc being used during the build process. - metadata_
of ๐Gets the metadata hash for the givenUnit
. - should_
use_ ๐metadata Returns whether or not this unit should use a metadata hash.