bjorn3 commented on issue #986:
I think this is a duplicate of https://github.com/bytecodealliance/wasmtime/issues/5635 which was fixed in https://github.com/bytecodealliance/wasmtime/pull/5651.
alexcrichton closed issue #986:
It would be nice to have version/compatibility info available via a header when consuming the wasmtime library. I use such version defines to automatically tag the the binaries built (e.g. allows future security issues to be detected automatically).
E.g. look at ZLIB library header for useful info.
#define ZLIB_VERSION "1.2.11"
#define ZLIB_VERNUM 0x12b0
#define ZLIB_VER_MAJOR 1
#define ZLIB_VER_MINOR 2
#define ZLIB_VER_REVISION 11
#define ZLIB_VER_SUBREVISION 0I then consume info at compile time like this:
https://github.com/rene-fonseca/base/blob/9d478d34a6ac3b1661b781a97dd8c90610ae5428/base/compression/ZLibInflater.cpp#L65-L67
Last updated: Nov 22 2024 at 16:03 UTC