-
SummaryI was exploring .wit format for plugin arch, every thing is ok until wit files had modification for next version. In general Plugins should be compatible with Prev version of wit bindings. Additional detailsV1
name: fn() -> string; V2
name: fn() -> string;
description: fn() -> string; Plugins compiled with V1 are not compatible with V2 imports, thus plugins needs recompiled for every version. Is this possible with current wasmer wit compilers, with using different wit syntax ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In the case of imports, these must be the same if you want the interface compatible with both versions. For the export case, if everything else stays the same, V1 will just have extra exports that can be ignored. |
Beta Was this translation helpful? Give feedback.
-
Ok, that might solve half the problem. |
Beta Was this translation helpful? Give feedback.
In the case of imports, these must be the same if you want the interface compatible with both versions.
For the export case, if everything else stays the same, V1 will just have extra exports that can be ignored.