Skip to content

UNREACHABLE executed at Precompute.cpp:838 on Windows #6710

@JSMonk

Description

@JSMonk

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:

  1. Clone repo: https://github.com/AzimMuradov/stardew-valley-designer
  2. Create local.properties file with the following content: kotlin.daemon.jvmargs=-Xmx2048m
  3. Run ./gradlew.bat :app-web:compileProductionExecutableKotlinWasmJs
  4. The binary is located in the following directory: app-web\build\compileSync\wasmJs\main\productionExecutable\kotlin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions