Skip to content

Commit

Permalink
Update binaryen (#69)
Browse files Browse the repository at this point in the history
* Update to newest binaryen

* Update bindings
  • Loading branch information
surma authored Mar 9, 2024
1 parent 00c9817 commit 89de59a
Show file tree
Hide file tree
Showing 4 changed files with 3,309 additions and 481 deletions.
2 changes: 1 addition & 1 deletion binaryen-sys/Shim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extern "C" BinaryenModuleRef BinaryenModuleSafeRead(const char* input, size_t in
auto* wasm = new Module;
vector<char> buffer(input, input + inputSize);
try {
WasmBinaryBuilder parser(*wasm, FeatureSet::MVP, buffer);
WasmBinaryReader parser(*wasm, FeatureSet::MVP, buffer);
parser.read();
} catch (ParseException const&) {
// FIXME: support passing back the exception text
Expand Down
2 changes: 1 addition & 1 deletion binaryen-sys/binaryen
Submodule binaryen updated 1678 files
Loading

0 comments on commit 89de59a

Please sign in to comment.