wasmerio / wasmer-go

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

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

Open pwtitle opened 3 months ago

pwtitle commented 3 months ago

see this capture:

image

a bug ???

tim-chow commented 1 month 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