Skip to content

Commit 5a8f597

Browse files
authored
Remove wasm.js reference (#207)
We removed it in Binaryen #1858. The reference here broke source installs using the emsdk. Fixes #206
1 parent f00c9ce commit 5a8f597

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ RUN cd /root/ \
2525
&& /root/emsdk/emsdk activate latest-fastcomp \
2626
&& source /root/emsdk/emsdk_env.sh --build=Release \
2727
&& emcc hello_world.cpp \
28-
&& emcc hello_world.cpp -s WASM=0
28+
&& emcc hello_world.cpp -s WASM=0 \
29+
&& echo "test binaryen source build" \
30+
&& /root/emsdk/emsdk install --build=Release binaryen-master-64bit
2931

emsdk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,6 @@ def build_binaryen_tool(tool):
968968
shutil.copytree(os.path.join(src_root, 'scripts'), os.path.join(build_root, 'scripts'))
969969
remove_tree(os.path.join(build_root, 'src', 'js'))
970970
shutil.copytree(os.path.join(src_root, 'src', 'js'), os.path.join(build_root, 'src', 'js'))
971-
shutil.copyfile(os.path.join(src_root, 'bin', 'wasm.js'), os.path.join(build_root, 'bin', 'wasm.js'))
972971

973972
return success
974973

0 commit comments

Comments
 (0)