bytecodealliance / bytecodealliance/wasmtime

Stabilize output of wasmtime-cli for modules to the current output

Open
#10,620 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

#### Feature

Since earlier than 2019 (when the git blame shows we switched from docopt to structopt), wasmtime-cli's `run --invoke` flag has emitted the warning:
```
warning: using `--invoke` with a function that returns values is experimental and may break in the future
```

Now that we have invoke for components (#10054), and in general the Component Model has supplanted bare modules as the venue in which we expect to specify semantic extensions Wasm, I think we can get rid of this warning for modules. We should change the text of the warning for components to indicate that the wave text format may be unstable, since that is early enough in development and use that we don't want to guarantee stability there forever.

#### Alternatives

* Do nothing - leave module invoke unstable forever. Its a niche feature which is of pretty limited use.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.