Importing wasm module that uses wasmer-wasix #4718
Labels
🧞 needs example
The issue needs an example on how to do it
🕵️ needs investigation
The issue/PR needs further investigation
priority-medium
Medium priority issue
❓ question
I've a question!
Summary
Can't import wasm module that uses wasmer-wasix.
Additional details
I'm trying to import wasm module that uses tokio and reqwest crates from https://github.com/wasix-org using wasmer-wasix as explained in examples.
I compile wasm module with
cargo wasix build --release
and run the main Rust program withcargo run --release
.When I try to import it using WasiEnv from wasmer-wasix crate, I get the following error:
Error: Link(Import("wasix_32v1", "futex_wake", UnknownImport(Function(FunctionType { params: [I32, I32], results: [I32] }))))
It happens when I'm trying to create new Instance from import object.
Does anyone know why this happens and how can I fix it?
The text was updated successfully, but these errors were encountered: