This is only known to be a problem for Grain where a Hello World wasi preview1 module produces duplicate fd_write imports.
Duplicate imports are permitted in modules by the Wasm core spec but forbidden by the component model, which prevents these modules from being componentized.
While fixing Grain is probably independently a good idea, we don't necessarily control that timing and it wouldn't help for existing modules. A discussion of how to build dedupe tooling can be found in BA Zulip.
This is only known to be a problem for Grain where a Hello World wasi preview1 module produces duplicate
fd_write
imports.Duplicate imports are permitted in modules by the Wasm core spec but forbidden by the component model, which prevents these modules from being componentized.
Two plausible paths to fix this:
While fixing Grain is probably independently a good idea, we don't necessarily control that timing and it wouldn't help for existing modules. A discussion of how to build dedupe tooling can be found in BA Zulip.