Problems loading emscripten compiled js file in Hermes. Works on JSC/V8.
- Dominant language
- JavaScript
- Stars
- 11.3k
- Forks
- 859
- Avg merge
- 1h 30m
- Merged PRs (30d)
- 3
Description
## Bug Description
I've been trying to load an emscripten compiled file with hermes with no success.
First I thought it was the minification of the emscripten flags present but it's still the same result even with all minifications turned off.
The code works (minfied) on both V8 and JSC engine. Can you give me any hints on what could be changed to make it work and what is the core difference between Hermes and the others engines?
- [ x] I have run `gradle clean` and confirmed this bug does not occur with JSC
- [ x] The issue is reproducible with the latest version of React Native.
Using the latest(?) version of hermes with
React Native version: 0.73.4
OS: Any
Platform: IOS/ANDROID
## Steps To Reproduce
If you want to test it this is the file i'm trying to load.
https://github.com/kryptokrona/kryptokrona-crypto/blob/master/dist/turtlecoin-crypto.js (non-minified)

1. The output should be an object with functions.
2. Hermes can't find functions. ( with non-minified js)

code example:
## The Expected Behavior

Contributor guide
Assessment
This issue has not been assessed yet.