mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 16:20:49 +00:00
Add skeleton for wasi abi
This commit is contained in:
parent
0787d001e3
commit
e3a6b7c9d8
@ -5,3 +5,4 @@ authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
wasmer-runtime-core = { path = "../runtime-core", version = "0.2.1" }
|
@ -1 +1,18 @@
|
||||
|
||||
use wasmer_runtime_core::{
|
||||
import::ImportObject,
|
||||
imports,
|
||||
func,
|
||||
};
|
||||
|
||||
pub fn generate_import_object() -> ImportObject {
|
||||
imports! {
|
||||
// This generates the wasi state.
|
||||
|| {
|
||||
// returns (pointer to state, function that can destruct the state).
|
||||
},
|
||||
"wasi_unstable" => {
|
||||
|
||||
},
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user