There is a tool that can be built for WASI along with other non-wasm platforms.
But cargo wapm does not to publish it.
$ cargo wapm --dry-run
2022-08-12T21:39:43.681554Z INFO publish: cargo_wapm: Publishing dry_run=true pkg="random-distributions-cli"
Error: Unable to publish "random-distributions-cli"
Caused by:
The package doesn't contain a library with the "cdylib" crate-type
Or is WAPM only for libraries, not for executables, unlike crates.io?
There is a tool that can be built for WASI along with other non-wasm platforms.
But
cargo wapm
does not to publish it.Or is WAPM only for libraries, not for executables, unlike
crates.io
?