pub const SCHEMA_VERSION: u32 = 12;Expand description
On-disk format version. Bump when CachedChunk or the header
layout changes in a backwards-incompatible way.
v5: ModuleArtifact gained public_type_names (pub type exports).
v6: payload encoding replaced with postcard.
v7: exported type schemas moved from eager JSON strings to an initializer
chunk that resolves imported aliases in the module environment.
v7: ModuleArtifact replaced split name sets with the typed public export
contract shared by the module graph and runtime.
v8: entry-chunk payload carries a ContextManifest so a warm lookup can
prove the import graph is unchanged with stats instead of re-walking it.
v9: the manifest records the entry it was walked from, so it cannot vouch
for a different entry that happens to have identical source bytes (#5591);
the header carries CODEGEN_FINGERPRINT, which the manifest fast path
needs in order to reject a chunk built by another compiler at the same
version (#5610); and manifest entries carry a content digest, and the
manifest a capture time, so a rewrite inside the filesystem’s timestamp
granularity cannot present itself as unchanged (#5582).
v10: module namespace imports carry conservative static member demand.
v11: manifest link entries carry the typed imported interface needed to
reconstruct an exact module compilation key.
v12: the header carries the authority the artifact was compiled under, so an
ordinary lookup cannot accept an adjacent artifact compiled with privileged
authority. compiler_tag could not express this: it folds the optimization
and legacy-ambient bits only, never privileged_wire_authority.