Skip to main content

IR_VERSION

Constant IR_VERSION 

Source
pub const IR_VERSION: u64 = 2;
Expand description

The PowerIO IR version this build writes.

The IR version is an integer that advances only when the serialized representation changes incompatibly for an existing value type. It is independent of the PowerIO release, which the producer record of a document names, and of the C ABI version.

IR versionFirst releaseChange
1v0.10.0the PioModule serialization, under the identity powerio.module
2v0.11.0the identity pio-ir; the producer release recorded apart from the IR version; retained source bytes left out

Additive structural types keep the IR version unchanged. A reader accepts the types it implements; an unknown type requires a newer reader. IR_MIN_VERSION is the oldest IR version this build reads.