[][src]Constant rustc_metadata::schema::METADATA_HEADER

pub const METADATA_HEADER: &'static [u8; 12]
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Metadata header which includes METADATA_VERSION. To get older versions of rustc to ignore this metadata, there are 4 zero bytes at the start, which are treated as a length of 0 by old compilers.

This header is followed by the position of the CrateRoot, which is encoded as a 32-bit big-endian unsigned integer, and further followed by the rustc version string.