Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node main.js fails with RuntimeError: unreachable #2

Open
masonforest opened this issue Jan 22, 2018 · 1 comment
Open

node main.js fails with RuntimeError: unreachable #2

masonforest opened this issue Jan 22, 2018 · 1 comment

Comments

@masonforest
Copy link
Contributor

Hey @serprex , thanks for building luwa! Its seems like aside from LLVM this is one of the farthest along compilers to WebAssembly. Congrats!

I'm getting an error when I run node main

/Users/masonf/src/luwa/main.js:47
}).catch(e => setImmediate(() => { throw e; }));
                               ^

RuntimeError: unreachable
    at wasm-function[40]:3861
    at wasm-function[83]:3
    at rt.then (/Users/masonf/src/luwa/main.js:22:11)
    at <anonymous>

Any idea what that could be?

I'm on:

Mac OSX high sierra 10.13.2
Node v9.4.0
Lua 5.3.4

Let me know if there's any other helpful information I can provide. Thanks again!

-Mason

@serprex
Copy link
Owner

serprex commented Jan 26, 2018

The VM currently has a number of unimplemented opcodes. It's able to get as far as calling fakereq before hitting an unimplemented case

For another project, see TurboScript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants