emscripten-core / emscripten-core/emscripten

`emscripten_wget` raise wasm error `Unexpected reached` since recent build

Open
#17,474 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 6h
Merged PRs (30d)
109

Description

`emscripten_wget` works just fine on version 3.1.9, but the same code fails on the latest version with a weird wasm error saying `Unexpected reached`
I hope reproduction will be easy, if not feel free to ask me for exhaustive details

compiled with
```
-s ASYNCIFY=1
-O1
-s WASM_BIGINT
-s ASSERTIONS
-s MODULARIZE=1
-s ENVIRONMENT='web'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.