niobium/producer_version.h

Identity of whatever produced a fhetch project bundle.

The bundle is consumed by a Niobium-operated compiler, which needs to know which client emitted it in order to decide whether it can still accept it. See COMPATIBILITY.md for the versioning scheme.

These values are compile-time: NIOBIUM_FHETCH_VERSION comes from this repo's VERSION file, and NIOBIUM_CLIENT_VERSION is injected by whichever distribution links this library. It is "unknown" for a standalone build, which is exactly right -- a standalone build is not a client release.

Include: #include "niobium/producer_version.h"

Declarations

NIOBIUM_FHETCH_VERSION

#define NIOBIUM_FHETCH_VERSION "unknown"

NIOBIUM_CLIENT_VERSION

#define NIOBIUM_CLIENT_VERSION "unknown"

niobium::fhetch_version

const char * fhetch_version()

Version of this FHETCH implementation (e.g. "1.0.0").

niobium::client_version

const char * client_version()

Version of the distribution embedding this library (e.g. "1.2.0+g1d7db00"), or "unknown" when built standalone rather than as part of a client release.

Something not looking right? Suggest a change on GitHub.