Skip to content

Commit d70265d

Browse files
committed
gltfpack: Specify supported Node version in package.json
Also fix formatting in wasmstubs.cpp as a drive-by.
1 parent 9f99bb6 commit d70265d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

gltf/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
],
2222
"scripts": {
2323
"prepublishOnly": "node cli.js -v"
24+
},
25+
"engines": {
26+
"node": ">=18"
2427
}
2528
}

tools/wasmstubs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#error This file contains libc stubs for WASI SDK and should only be used in non-Emscripten WebAssembly builds
33
#endif
44

5+
#include <assert.h>
56
#include <stddef.h>
67
#include <stdint.h>
7-
#include <assert.h>
88

99
extern unsigned char __heap_base;
1010
static intptr_t sbrkp = intptr_t(&__heap_base);

0 commit comments

Comments
 (0)