commit 31839579f9fdd07f2e35ff9702d6c8c24968e8e4
parent a53c7fbec04d2d6e93ab75d9d0be196751cf6250
Author: amin <dev@aminmesbah.com>
Date: Tue, 9 Aug 2022 04:50:58 +0000
Remove now unneeded export in wasm build
It was only there as a workaround for the bug fixed by this:
https://reviews.llvm.org/D65920
FossilOrigin-Name: e7e3fded3f6667ec28e184682a37168bdf7ff2e9c5c1997ed4e520407b3d4b78
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/build_wasm.sh b/build_wasm.sh
@@ -33,8 +33,6 @@ llvm-link -o $wasm_dir/wasm.bc $wasm_dir/wasm.bc
opt -O3 -disable-simplify-libcalls $wasm_dir/wasm.bc -o $wasm_dir/wasm.bc
llc -O3 -disable-simplify-libcalls -filetype=obj $wasm_dir/wasm.bc -o $wasm_dir/wasm.o
-# TODO: remove __heap_base export when LLVM bug fix is released:
-# https://reviews.llvm.org/D65920
wasm-ld \
--no-entry $wasm_dir/wasm.o \
-o $wasm_dir/binary.wasm \
@@ -43,7 +41,6 @@ wasm-ld \
--export=render \
--export=window_resize \
--export=key_callback \
- --export=__heap_base \
--import-memory
rm $wasm_dir/*.o