File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 6
6
#include " node.h"
7
7
#include " util.h"
8
8
#include " uv.h"
9
+ #include " uvwasi.h"
9
10
#include " v8.h"
10
11
#include " zlib.h"
11
12
@@ -103,6 +104,10 @@ Metadata::Versions::Versions() {
103
104
ngtcp2 = NGTCP2_VERSION;
104
105
nghttp3 = NGHTTP3_VERSION;
105
106
#endif
107
+
108
+ #ifdef UVWASI_VERSION_STRING
109
+ uvwasi = UVWASI_VERSION_STRING;
110
+ #endif // UVWASI_VERSION
106
111
}
107
112
108
113
Metadata::Release::Release () : name(NODE_RELEASE) {
Original file line number Diff line number Diff line change 13
13
#endif
14
14
#endif // HAVE_OPENSSL
15
15
16
+ #include " uvwasi.h"
17
+
16
18
namespace node {
17
19
18
20
// if this is a release build and no explicit base has been set
@@ -37,7 +39,11 @@ namespace node {
37
39
V (modules) \
38
40
V (nghttp2) \
39
41
V (napi) \
40
- V (llhttp) \
42
+ V (llhttp)
43
+
44
+ #if defined(UVWASI_VERSION_STRING)
45
+ #define NODE_VERSIONS_UVWASI (V ) V(uvwasi)
46
+ #endif // UVWASI_VERSION_STRING
41
47
42
48
#if HAVE_OPENSSL
43
49
#define NODE_VERSIONS_KEY_CRYPTO (V ) V(openssl)
@@ -67,7 +73,8 @@ namespace node {
67
73
NODE_VERSIONS_KEYS_BASE (V) \
68
74
NODE_VERSIONS_KEY_CRYPTO (V) \
69
75
NODE_VERSIONS_KEY_INTL (V) \
70
- NODE_VERSIONS_KEY_QUIC (V)
76
+ NODE_VERSIONS_KEY_QUIC (V) \
77
+ NODE_VERSIONS_UVWASI (V)
71
78
72
79
class Metadata {
73
80
public:
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const expected_keys = [
13
13
'nghttp2' ,
14
14
'napi' ,
15
15
'llhttp' ,
16
+ 'uvwasi' ,
16
17
] ;
17
18
18
19
if ( common . hasCrypto ) {
You can’t perform that action at this time.
0 commit comments