commit ceb003271039fdab775c0dd6f8c9016fb677892f
parent 9c4134e03098a0dce9a1ce2a6d9c008009d8cd41
Author: Amin Mesbah <dev@aminmesbah.com>
Date: Mon, 8 Aug 2022 21:50:58 -0700
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
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