-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
wasiIssues pertaining to WASIIssues pertaining to WASIwasmtime:apiRelated to the API of the `wasmtime` crate itselfRelated to the API of the `wasmtime` crate itself
Description
In #7994 the component::Linker type in Wasmtime was made aware of semver by enabling loading a component that requires 0.2.0 of an interface with a supplied 0.2.1 of an interface. This enables us to update WASI in Wasmtime without breaking the ability to load older components.
This support, however, does not work for exports. If a component exports 0.2.0 and the runtime is generating bindings for 0.2.1 then loading the export will fail currently, there's no logic anywhere to probe for older verions.
This represents a snag in our story of WASI compatibility in Wasmtime and is something we should address before updating WASI to 0.2.1
Metadata
Metadata
Assignees
Labels
wasiIssues pertaining to WASIIssues pertaining to WASIwasmtime:apiRelated to the API of the `wasmtime` crate itselfRelated to the API of the `wasmtime` crate itself