wasmerio/wasmer

Edge-CLI: Validate package/module compatibility when publishing apps

Opened this issue · 1 comments

WASM modules need to fulfill certain requirements to be valid and functional on Edge.

For example, http proxy apps need to be able to open sockets and handle TCP traffic, which means they need to use WASIX.
WCGI apps in turn must at least use WASI or WASIX to handle the required stdin/out.

We can add a safeguard before app deployment, by checking if the WASM module fullfills the basic requirements (like importing the needed WASI(X) functions).