mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 20:51:32 +00:00
Add skeleton for wasi abi
This commit is contained in:
@ -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" => {
|
||||
|
||||
},
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user