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
It'd be more user-friendly if, instead of this...
https://github.com/wasmerio/wit-pack/blob/0b12fe02ca741cb34a74977aaf7b459220fb68fc/crates/wit-pack/tests/python-wasi/test_wabt.py#L6
https://github.com/wasmerio/wit-pack/blob/0b12fe02ca741cb34a74977aaf7b459220fb68fc/crates/wit-pack/tests/python-wasi/test_wabt.py#L18-L21
... people just needed to write this...
from wabt import bindings wabt_library_instance = bindings.wabt() wasm_result = wabt_library_instance.wat2wasm("(module)", WasmFeature.MUTABLE_GLOBALS)
CC: @syrusakbary
The text was updated successfully, but these errors were encountered:
After thinking more about this, I think your proposal is the right one:
Why? We may need to get the memory filesystem inside of the wabt_library_instance in a way that is reusable:
wabt_library_instance
wabt_library_instance.fs.read_conents("abc") # OR at instantiation wabt_library_instance = bindings.wabt(mount={".": LocalFilesystem(".")})
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
It'd be more user-friendly if, instead of this...
https://github.com/wasmerio/wit-pack/blob/0b12fe02ca741cb34a74977aaf7b459220fb68fc/crates/wit-pack/tests/python-wasi/test_wabt.py#L6
https://github.com/wasmerio/wit-pack/blob/0b12fe02ca741cb34a74977aaf7b459220fb68fc/crates/wit-pack/tests/python-wasi/test_wabt.py#L18-L21
... people just needed to write this...
CC: @syrusakbary
The text was updated successfully, but these errors were encountered: