-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Wasm module implementation #73
Conversation
a9f17d3
to
850c18d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
depends on input-output-hk/catalyst-ci#180 |
a23f6a0
to
f472304
Compare
3b2daaf
to
6f662cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Joaquín Rosales <casabenita7@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: Steven Johnson <stevenj@users.noreply.github.com>
Description
An initial WASM module implementation
Related Issue(s)
Closes #65
Description of Changes
wasm
Rust module where going to put all WASM specific codeModule
struct which is a wrapper overwasmtime::Module
,wasmtime::InstancePre
etc.. It initialises a module from provided wasm module bytes, context, imports.call_func
function, to call someexport
functions of the WASM module from the Rust. Also this function preserves an immutable WASM. state as it was described in the ticket.Context
struct which represents a host context to the WASM module, and will be a part of the WASM Store.