binaryen
binaryen copied to clipboard
Optimizer and compiler/toolchain library for WebAssembly
For some reason these 4 tests had expected output but no others. The spec tests work based on internal assertions so comparing output should not be needed.
I'm not sure why we were using the `node` flavored ones.
Implementation of the [Type Imports and Exports proposal](https://github.com/WebAssembly/proposal-type-imports/blob/main/proposals/type-imports/Overview.md), which allows Wasm module to export and import types: ```wasm (type $File (export "File") (struct ...)) (import "file" "File" (type $File (sub...
It would be nice to allow toolchains to emit magic JS string imports all the time, which would make the output immediately runnable in VMs. That would be instead of...
Currently `wasm2js` does not support multiple tables. This is problematic for anyone that has WASM binaries compiled from Rust 1.82+ because the `reference-types` LLVM feature was enabled by default which...
This topic has come up before, so I wrote a draft of what a roadmap might look like. Does this seem like it could be useful?
Firstly: yay, thank you for fixing the control-flow values issue in the parser! Binaryen can now work on Hoot's binaries. Thank you thank you! I noticed a performance bug that...
When running version 95 tests on a big-endian machine like s390x, I get the following test error: ``` ./check.py --binaryen-bin s390x-redhat-linux-gnu/bin warning: no mozjs found (did not check native wasm...
Is there currently a recommended way to go about calling asyncify_get_state from inside native code? To manage this with other methods currently I'm doing: ```c #ifndef ASYNCJMP_SUPPORT_ASYNCIFY_H #define ASYNCJMP_SUPPORT_ASYNCIFY_H __attribute__((import_module("asyncify"),...
All browsers (and Node) seem to implement the same size limit for functions (somewhere around the 7MB mark). How about a pass for `wasm-opt` that breaks long functions up into...