Skip to content

Commit 5dd9204

Browse files
committed
add comment to build.sh
1 parent 3de5730 commit 5dd9204

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wasm/dotnet/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ printf '%s\n' 'import.meta.url ??= "";' | cat - ./src/dotnet/bin/Release/net9.0/
2727
echo "Copying symbol maps..." | tee -a "$BUILD_LOG"
2828
cp ./src/dotnet/obj/Release/net9.0/wasm/for-publish/dotnet.native.js.symbols ./build-interp/wwwroot/_framework/
2929

30+
# Net9 and Net10 use Emscripten version 3.1.56, which emits legacy EH, see https://github.com/WebKit/JetStream/pull/188
31+
# FIXME: Update toolchain to Net11 once available, then remove this wasm-opt call.
3032
for wasmFile in $(find "./build-interp" -type f -name "*.wasm");
3133
do
3234
wasm-opt "$wasmFile" --translate-to-exnref --enable-bulk-memory --enable-exception-handling --enable-simd --enable-reference-types --enable-multivalue -o "$wasmFile"
@@ -41,6 +43,8 @@ printf '%s\n' 'import.meta.url ??= "";' | cat - ./build-aot/wwwroot/_framework/d
4143
echo "Copying symbol maps..." | tee -a "$BUILD_LOG"
4244
cp ./src/dotnet/obj/Release/net9.0/wasm/for-publish/dotnet.native.js.symbols ./build-aot/wwwroot/_framework/
4345

46+
# Net9 and Net10 use Emscripten version 3.1.56, which emits legacy EH, see https://github.com/WebKit/JetStream/pull/188
47+
# FIXME: Update toolchain to Net11 once available, then remove this wasm-opt call.
4448
for wasmFile in $(find "./build-aot" -type f -name "*.wasm");
4549
do
4650
wasm-opt "$wasmFile" --translate-to-exnref --enable-bulk-memory --enable-exception-handling --enable-simd --enable-reference-types --enable-multivalue -o "$wasmFile"

0 commit comments

Comments
 (0)