Skip to content

Commit

Permalink
remove exception throw from abort()
Browse files Browse the repository at this point in the history
See #3
  • Loading branch information
stephen-riley committed Aug 24, 2020
1 parent 89348ac commit a91ced9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dist/libpcre2.js: src/lib/libpcre2.c src/lib/config.js | deps dist
-L/src/local/lib \
-lpcre2-16 \
-o libpcre2.js
sed -i '' 's/throw new WebAssembly.RuntimeError(what)/\/\/ throw new WebAssembly.RuntimeError(what)/' deps/build/libpcre2.js
cp deps/build/libpcre2.{wasm,js} dist/

# ----------------------------------------------------------------------

0 comments on commit a91ced9

Please sign in to comment.