Skip to content

Meta

Module: std.meta
Source: std/meta.zn

Standard library versioning is separated from compiler. Its form looks like:

v1.2.3
│
▼
┌─┐┌─┐┌─┐
│1││2││3│
└┬┘└┬┘└┬┘
└──┼──┼► Compiler's major version
│ │
└──┼► Compiler's minor version
│
└► Library's revision

Numbers 1 and 2 are compiler’s compatibility line, they show which compiler version this library is related to.

STD_VERSION

Full version string


pub const STD_VERSION: []const char

STD_VERSION_MAJOR

Major


pub const STD_VERSION_MAJOR: u8

STD_VERSION_MINOR

Minor


pub const STD_VERSION_MINOR: u8

STD_VERSION_REVISION

Revision


pub const STD_VERSION_REVISION: u8