Open Michael-F-Bryan opened 1 year ago
How to use the cargo wasmer
?
I followed this https://docs.wasmer.io/wasmer-pack/tutorial/01-hello-world#publishing-to-wapm
but cargo wapm
fails to publish.
Caused by:
0: Unable to deserialize the [metadata] table
1: expected one of "wit-bindgen" or "wai-version" to be provided, but not both
With https://github.com/wasmerio/wasmer-toml/pull/8 now being merged, we should rename the command to
cargo wasmer
and switch to thewasmer-toml
crate.For compatibility, it might be a good idea to leave the
cargo-wapm
binary around for a while and print a big warning so people know to use thecargo wasmer
sub-command.