Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

failed to run cowsay with swasi-run #3

Open
c0diq opened this issue Mar 10, 2021 · 1 comment
Open

failed to run cowsay with swasi-run #3

c0diq opened this issue Mar 10, 2021 · 1 comment

Comments

@c0diq
Copy link

c0diq commented Mar 10, 2021

I installed Wasmer (1.0.2) according to instructions then

wapm install -g cowsay
swift run swasi-run \
     ~/.wasmer/globals/wapm_packages/_/cowsay\@0.2.0/target/wasm32-wasi/release/cowsay.wasm

But I'm getting the error:

Import Error:
  Error while importing "wasi_unstable"."fd_prestat_get": unknown import. Expected Function(FunctionType { params: [I32, I32], results: [I32] })
@helje5
Copy link
Owner

helje5 commented Mar 10, 2021

Yes, over here: wasmerio/wasmer-c-api#18

Maybe those things go away if this is done: #1, no idea.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants