Stream: git-wasmtime

Topic: wasmtime / issue #986 Consider introducing wasmtime speci...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2023 at 08:48):

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.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 09 2023 at 15:48):

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 0

I then consume info at compile time like this:
https://github.com/rene-fonseca/base/blob/9d478d34a6ac3b1661b781a97dd8c90610ae5428/base/compression/ZLibInflater.cpp#L65-L67


Last updated: Dec 23 2024 at 13:07 UTC