We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following calls the imported function only once:
webassemblyjs = require("webassemblyjs"); var code = ` (module (import "a" "a" (func $a (param i32))) (func $custom (param i32) (block (loop (get_local 0) (call $a) (br 0) ) ) ) (export "custom" (func $custom)) ) ` function a(v) { console.log(v) } var IO = {"a":{a}} var instance = webassemblyjs.instantiateFromSource(code, IO); try { var result = instance.exports.custom(1); console.log(result) } catch (e) { console.log("Exception:", e) }
This may be related to: #66
The text was updated successfully, but these errors were encountered:
Btw here's a PR #338, i'm currently working on it
Sorry, something went wrong.
I just merged #449, branching and control flow should be easier now.
No branches or pull requests
The following calls the imported function only once:
This may be related to: #66
The text was updated successfully, but these errors were encountered: