mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
src: add uvwasi version
PR-URL: https://github.com/nodejs/node/pull/45639 Refs: https://github.com/nodejs/node/issues/45260 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "node.h"
|
||||
#include "util.h"
|
||||
#include "uv.h"
|
||||
#include "uvwasi.h"
|
||||
#include "v8.h"
|
||||
#include "zlib.h"
|
||||
|
||||
@@ -90,6 +91,8 @@ Metadata::Versions::Versions() {
|
||||
"." +
|
||||
std::to_string(BrotliEncoderVersion() & 0xFFF);
|
||||
|
||||
uvwasi = UVWASI_VERSION_STRING;
|
||||
|
||||
#if HAVE_OPENSSL
|
||||
openssl = GetOpenSSLVersion();
|
||||
#endif
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace node {
|
||||
V(nghttp2) \
|
||||
V(napi) \
|
||||
V(llhttp) \
|
||||
V(uvwasi)
|
||||
|
||||
#if HAVE_OPENSSL
|
||||
#define NODE_VERSIONS_KEY_CRYPTO(V) V(openssl)
|
||||
|
||||
@@ -13,6 +13,7 @@ const expected_keys = [
|
||||
'nghttp2',
|
||||
'napi',
|
||||
'llhttp',
|
||||
'uvwasi',
|
||||
];
|
||||
|
||||
if (common.hasCrypto) {
|
||||
|
||||
Reference in New Issue
Block a user