File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ bin/dash-wasm*
6
6
bin /python-native
7
7
bin /zd
8
8
bin /zdb
9
+ bin /wasi-js
9
10
bin /cython
10
11
bin /cowasm *
11
12
bin /* -wasm
Original file line number Diff line number Diff line change 1
1
include ../build/Makefile-vars
2
2
3
- all : ${DIST}/.built
3
+ all : ${DIST}/.built ${BIN}/wasi-js
4
4
5
5
include ../build/Makefile-rules
6
6
@@ -9,6 +9,13 @@ ${DIST}/.built: node_modules
9
9
pnpm run build
10
10
touch ${DIST} /.built
11
11
12
+ # eventually ${BIN}/cowasm should jsut call wasi-js when the executable isn't a DLL
13
+ # For now we just directly run this wasi-js script. This is used by zcc and z++.
14
+ ${BIN}/wasi-js : ${DIST}/.built
15
+ ln -sf ` pwd` /bin/run.js ${BIN} /wasi-js
16
+ touch ${BIN} /wasi-js
17
+
18
+
12
19
# There's a lot of testing of this in cowasm-python right now...
13
20
14
21
test : ${DIST}/.built
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ include ../build/Makefile-rules
15
15
16
16
${DIST_WASM}/.built : node_modules ${BUILD_WASM}/.build
17
17
cd ${BUILD_WASM} && \
18
- CC=" cowasm-cc " \
18
+ CC=" zcc " \
19
19
AR=" zig ar" \
20
20
RANLIB=" zig ranlib" \
21
21
./Configure \
You can’t perform that action at this time.
0 commit comments