dispatchrun / wasi-go

A Go implementation of the WebAssembly System Interface (WASI)
Apache License 2.0
124 stars 7 forks source link

Same signature both for Unix and Windows #96

Closed ValentinMontmirail closed 10 months ago

ValentinMontmirail commented 10 months ago

Some existing codebase under Unix was using builder.Instanciate() that returns 3 values. My IDE was complaining because it was expecting only 2 values returned.

It turns out: I should simply not try to compile it under Windows. Signatures both for the default and the _unix should be the same to avoid such error.