Skip to content

Commit

Permalink
enable exceptions flag for wasm (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo authored May 10, 2022
1 parent f9aa194 commit 59da034
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion editor/js/editable-wat.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
await wabtInitialized;
var encoder = new TextEncoder();
let watBuffer = encoder.encode(wat);
let module = wabt.parseWat("", watBuffer);
let module = wabt.parseWat("", watBuffer, { exceptions: true });
module.resolveNames();
module.validate();
const binary = module.toBinary({ log: true, write_debug_names: true });
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"glob": "8.0.1",
"node-dir": "0.1.17",
"uglify-es": "3.3.9",
"wabt": "^1.0.23"
"wabt": "^1.0.29"
},
"resolutions": {
"lodash": ">=4.17.5",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5705,7 +5705,7 @@ vue-eslint-parser@^8.0.1:
lodash "^4.17.21"
semver "^7.3.5"

wabt@^1.0.23:
wabt@^1.0.29:
version "1.0.29"
resolved "https://registry.yarnpkg.com/wabt/-/wabt-1.0.29.tgz#e04b013a9151e2d2293f0cf965727208a3e87f99"
integrity sha512-taUwem3bYn5ZrDYSNqJ2lIAXA3t0Xon7rLjRa8PZ21h8vp0IP5SKyozcWFhv8PPC07KJkGWpDuSCnzSdJ01YsA==
Expand Down

0 comments on commit 59da034

Please sign in to comment.