Skip to main content

RELEASE_INDEX_SCHEMA_VERSION

Constant RELEASE_INDEX_SCHEMA_VERSION 

Source
pub const RELEASE_INDEX_SCHEMA_VERSION: u32 = 3;
Expand description

Signed release-index schema understood by independent updaters.

v3 is the current frozen stable schema. It adds an explicit target_libc field (gnu/musl) to Linux runtime artifacts so libc variants of the same OS+arch are disambiguated deterministically. v3 is a versioned schema: a v1.1.0 reader (whose validator requires RELEASE_INDEX_SCHEMA_VERSION == 2) rejects it at the schema boundary (fail-closed) rather than naive-matching gnu and musl builds to the same OS+arch and failing ambiguously.