Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a58bf14

Browse filesBrowse files
MrJithildanielleadams
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 4493266 commit a58bf14
Copy full SHA for a58bf14

File tree

Expand file treeCollapse file tree

3 files changed

+5
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-0
lines changed
Open diff view settings
Collapse file

‎src/node_metadata.cc‎

Copy file name to clipboardExpand all lines: src/node_metadata.cc
+3Lines 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
Collapse file

‎src/node_metadata.h‎

Copy file name to clipboardExpand all lines: src/node_metadata.h
+1Lines 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)
Collapse file

‎test/parallel/test-process-versions.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-process-versions.js
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.