binaryen
binaryen copied to clipboard
UNREACHABLE executed at Precompute.cpp:838 on Windows
Version: 117 Platform: Windows 11 (x64)
Using -O2 and higher on Windows produces UNREACHABLE executed at Precompute.cpp:838 error.
I've attached the binary that helps to reproduce the behavior.
stardew-valley-designer-app-web-wasm-js.wasm.zip
To reproduce the failure, take the binary and run the following command:
wasm-opt.exe --all-features -O2 .\stardew-valley-designer-app-web-wasm-js.wasm -o output.wasm
To generate the binary by yourself:
- Clone repo: https://github.com/AzimMuradov/stardew-valley-designer
- Create
local.propertiesfile with the following content:kotlin.daemon.jvmargs=-Xmx2048m - Run
./gradlew.bat :app-web:compileProductionExecutableKotlinWasmJs - The binary is located in the following directory:
app-web\build\compileSync\wasmJs\main\productionExecutable\kotlin