WebAssembly / wasi-blobstore

15 stars 11 forks source link

chore: update to WASI 0.2.2 #28

Open rvolosatovs opened 1 month ago

rvolosatovs commented 1 month ago

Note, that the interface version in the WIT is purposefully not changed - doing so (e.g. using 0.2.0-draft.1) means that hosts that would want to support both versions would now need to duplicate all binding implementations and deal with duplicate I/O package dependencies.

There's no reason for this complexity, however, because the host may choose any version of I/O package for implementation, e.g. component interface version depending on wasi:io/streams@0.2.2 can successfully import host interface version depending on wasi:io/streams@0.2.0 (see an example of this working in https://github.com/wasmCloud/wasmCloud/pull/3312 if interested)