Skip to content

Commit 5d7cd36

Browse files
MrJithiltargos
authored andcommitted
src: add uvwasi version
PR-URL: #45639 Refs: #45260 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 4165dcd commit 5d7cd36

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/node_metadata.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "node.h"
77
#include "util.h"
88
#include "uv.h"
9+
#include "uvwasi.h"
910
#include "v8.h"
1011
#include "zlib.h"
1112

@@ -90,6 +91,8 @@ Metadata::Versions::Versions() {
9091
"." +
9192
std::to_string(BrotliEncoderVersion() & 0xFFF);
9293

94+
uvwasi = UVWASI_VERSION_STRING;
95+
9396
#if HAVE_OPENSSL
9497
openssl = GetOpenSSLVersion();
9598
#endif

src/node_metadata.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ namespace node {
3838
V(nghttp2) \
3939
V(napi) \
4040
V(llhttp) \
41+
V(uvwasi)
4142

4243
#if HAVE_OPENSSL
4344
#define NODE_VERSIONS_KEY_CRYPTO(V) V(openssl)

test/parallel/test-process-versions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const expected_keys = [
1313
'nghttp2',
1414
'napi',
1515
'llhttp',
16+
'uvwasi',
1617
];
1718

1819
if (common.hasCrypto) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy