-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use with wasi-shim? #127
Comments
Note if I comment out the |
I am also having the same problem |
I removed the Thank you! |
Thanks! Would you please make a new release with this fix? @jedisct1 |
PS: there's an error on build now
|
I guess ideally, both wasi-shim and as-wasi are used alongside, where wasi-shim reconfigures stdlib to use WASI APIs while as-wasi provides additional APIs that are not present in stdlib. Seems this could work well as the default, given that:
|
There's no btw, https://github.com/AssemblyScript/wasi-shim doesn't have issues enbabled |
wasi-shim only overrides APIs already in AS's stdlib, that is standard-ish JS or, where useful, Node APIs. A |
I see you've updated to use
wasi-shim
, but it's not clear how usage/configuration has changed.import "wasi"
, right?asconfig.json
?Adding nothing results in a module that won't execute:
Following the instructions from
wasi-shim
results in a module that won't compile.The text was updated successfully, but these errors were encountered: