Closed dynamite-bud closed 1 year ago
This is another poor error message we were running into:
$ cargo wapm --dry-run
Error: Unable to publish "hello-world"
Caused by:
0: Unable to deserialize the [metadata] table
1: data did not match any variant of untagged enum Bindings
With the following Cargo.toml
:
[package.metadata.wapm]
namespace = "wasmer" # Replace this with your WAPM username
abi = "none"
bindings = { wai-bindgen = "0.1.0", exports = "hello-world.wai" }
(note the wai-bindgen
instead of wai-version
)
Fixed in #7 when we updated the wapm-toml
dependency.
When I use
cargo wapm --dry-run
with the following:I get the errrors: