Re: Pre-initialize with Wizer

2021-06-19 Thread 'Sam Clegg' via emscripten-discuss
The emscripten feature only worked for running static constructors I believe (We should resurrect that feature in binaryen!). Wizer actually tries to run as much of `main` as it can too. I don't see any reason why emscripten and wizer couldn't be used together but I don't know of any attempts to

Re: Pre-initialize with Wizer

2021-06-19 Thread 'Thomas Lively' via emscripten-discuss
I believe Emscripten used to have a similar feature, but we had to disable it because it turned out that we depended on JS setting some values in memory before running the Wasm code and the pre-evaluation tool couldn’t account for that. I’m not sure whether that situation has changed, though. On F

Pre-initialize with Wizer

2021-06-18 Thread Dan C
Hi everyone, I recently came across this tool https://github.com/bytecodealliance/wizer, which doesn't seem designated for Emscripten. I'm wondering whether anyone had any luck with it. Thanks, Dan -- You received this message because you are subscribed to the Google Groups "emscripten-discu