bytecodealliance/wac

Support multiple `targets` clauses in the `package` directive

Opened this issue · 0 comments

It'd be fantastic to be able to support multiple targets constraints. The use case for that would be to ensure that a component can run in all of a set of chosen environments, as described by a set of WIT worlds.

An example syntax could be

package example:composition targets wasi:http/proxy, wasi:cli;