wasmerio / wasmer-go

🐹🕸️ WebAssembly runtime for Go
https://pkg.go.dev/github.com/wasmerio/wasmer-go
MIT License
2.84k stars 161 forks source link

Missing import: `wasi_snapshot_preview1`.`sched_yield` #409

Open pwtitle opened 5 months ago

pwtitle commented 5 months ago

see this capture:

image

a bug ???

tim-chow commented 2 months ago

I think it is not a bug. You should reference this example to generate import object: https://github.com/wasmerio/wasmer-go/blob/master/examples/wasi/main.go