You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I miss an introduction. I have a non-standard import in an emscripten created WASM
(import "env" "__syscall_faccessat" (func $env.__syscall_faccessat (type $t7)))
with t7 being (type $t7 (func (param i32 i32 i32 i32) (result i32)))
How would I add an implementation for this to my setup?
let wasi = try WASIBridgeToHost()
let engine = Engine()
let store = Store(engine: engine)
var imports = Imports()
//add the missing import here
wasi.link(to: &imports, store: store)
let instance = try module.instantiate(store: store, imports: imports)
Relevant types seem to have only private init functions.
The text was updated successfully, but these errors were encountered:
That seem to work. Thank you!!!!
is there anywhere an example of how to transfer a string from Swift to WASM (and back)?
All examples only use numbers.
I think I miss an introduction. I have a non-standard import in an emscripten created WASM
(import "env" "__syscall_faccessat" (func $env.__syscall_faccessat (type $t7)))
with t7 being
(type $t7 (func (param i32 i32 i32 i32) (result i32)))
How would I add an implementation for this to my setup?
Relevant types seem to have only private init functions.
The text was updated successfully, but these errors were encountered: