History log of /wasmtime-44.0.1/docs/cli-options.md (Results 1 – 14 of 14)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: dev, v36.0.9, v44.0.1, v43.0.2, v36.0.8, v24.0.8, v44.0.0, v43.0.1, v42.0.2, v36.0.7, v24.0.7, v43.0.0, v42.0.1, v41.0.4, v42.0.0, v40.0.4, v36.0.6, v24.0.6, v41.0.3, v41.0.2, v41.0.1, v36.0.5, v40.0.3, v41.0.0, v36.0.4, v39.0.2, v40.0.2, v40.0.1, v40.0.0, v39.0.1, v39.0.0, v38.0.4, v37.0.3, v36.0.3, v24.0.5, v38.0.3, v38.0.2, v38.0.1, v37.0.2, v37.0.1, v37.0.0, v36.0.2, v36.0.1, v36.0.0, v35.0.0, v24.0.4, v33.0.2, v34.0.2, v34.0.1, v33.0.1, v24.0.3, v32.0.1, v34.0.0
# fd28db36 20-May-2025 Alex Crichton <[email protected]>

Update CLI `run` documentation (#10793)

* Update CLI `run` documentation

Try to take the spirit of #10792 to improve our documentation for the
`run` command and how CLI arguments interact with the

Update CLI `run` documentation (#10793)

* Update CLI `run` documentation

Try to take the spirit of #10792 to improve our documentation for the
`run` command and how CLI arguments interact with the provided
WebAssembly module.

* Review comments

show more ...


Revision tags: v33.0.0
# dac91e5f 23-Apr-2025 Victor Adossi <[email protected]>

fix(docs): remove $ from console commands for easy copy/paste (#10653)

This PR does a couple things to make docs a bit easier to use:

- Switch from `sh` to `console` for console commands
- Remove `

fix(docs): remove $ from console commands for easy copy/paste (#10653)

This PR does a couple things to make docs a bit easier to use:

- Switch from `sh` to `console` for console commands
- Remove `$` from console commands that do not also have output

Generally, console commands that are standalone *should* be easy to
copy and paste.

This PR doesn't make the changes everywhere in the docs, but that can
be handled in follow-ups.

Signed-off-by: Victor Adossi <[email protected]>

show more ...


Revision tags: v32.0.0
# 9ca321ee 11-Apr-2025 Pat Hickey <[email protected]>

wasmtime-cli: support `run --invoke` for components using wave (#10054)

* wip

* invoke works!!!

* code motion

* more context in errors

* fix test of invoke

* Invoke wave enhancements (#10511)

wasmtime-cli: support `run --invoke` for components using wave (#10054)

* wip

* invoke works!!!

* code motion

* more context in errors

* fix test of invoke

* Invoke wave enhancements (#10511)

* wip

* wasmtime::component::Component: add iterator of exports

* components_rec

* exports_rec gives fully qualified name

* invoke works!!!

* code motion

* more context in errors

* fix test of invoke

* Finalized enhancements for --invoke: error messages

* Testing and documenting --invoke

* Update if else re: invoke

* Updating to fix truncation possibilities in unwrap_tuple

* Add clippy annotation to resolve CI error and leave original code (that makes 2 i64 out of 1 i128 and discards extra bits).

* Format (rustfmt --edition 2021) Rust files in this PR.

* Removing duplicate code missed from previous conflict resolution

* Add more verbose documentation

* Add more verbose documentation

---------

Co-authored-by: Pat Hickey <[email protected]>

* Convert docs and error trapping to single quote approach (#10533)

* Convert docs and error trapping to single quote approach

* Adjust the error message a little

* Respond to review (#10544)

* cli: search component for export items

---------

Co-authored-by: Timothy McCallum <[email protected]>

show more ...


# 3e406d2e 20-Mar-2025 Alex Crichton <[email protected]>

Add a `wasmtime objdump` subcommand (#10405)

This commit adds an `objdump` subcommand to the `wasmtime` CLI. Like all
other subcommands this can be disabled for a more minimal build of the
CLI as we

Add a `wasmtime objdump` subcommand (#10405)

This commit adds an `objdump` subcommand to the `wasmtime` CLI. Like all
other subcommands this can be disabled for a more minimal build of the
CLI as well. The purpose of this subcommand is to provide a
Wasmtime-specific spin on the venerable native `objdump` itself. Notably
this brings Wasmtime-specific knowledge for filtering functions, showing
Wasmtime metadata, etc.

This command is intended to look like `objdump` roughly but also has
configurable output with various flags and things that can be printed.
For now the main Wasmtime additions are showing the address map
section, stack map section, and trap section of a `*.cwasm` file.

This new subcommand replaces the infrastructure of the `disas` test
suite, and now that test suite uses `wasmtime objdump` to generate test
expectations. Additionally the subcommand replaces the Pulley `objdump`
example as a more full-featured objdump that also works natively with
Pulley.

The hope is that if we add more binary metadata in the future (such as
unwinding tables) that can be relatively easily added here for
exploration as well. Otherwise this is mostly just a developer
convenience for Wasmtime developers as well and hopefully doesn't cost
too much in maintenance burden.

Closes #10336

show more ...


Revision tags: v31.0.0, v30.0.2, v30.0.1
# 789e7d71 21-Feb-2025 Alex Crichton <[email protected]>

Document precedence order of CLI/config options (#10269)

Closes #10258


Revision tags: v30.0.0
# 23fc0c1a 28-Jan-2025 Ludvig Liljenberg <[email protected]>

Make TOML config keys kebab-case, and add docs (#10132)

* Update cli book docs for toml option

* Make TOML keys use kebab-case in order to match cli names


Revision tags: v29.0.1, v29.0.0, v28.0.1, v28.0.0, v27.0.0, v26.0.1, v25.0.3, v24.0.2, v26.0.0, v21.0.2, v22.0.1, v23.0.3, v25.0.2, v24.0.1, v25.0.1, v25.0.0, v24.0.0, v23.0.2, v23.0.1, v23.0.0, v22.0.0, v21.0.1, v21.0.0, v20.0.2, v20.0.1, v20.0.0, v17.0.3, v19.0.2, v18.0.4, v19.0.1, v19.0.0, v18.0.3
# 99ea051b 11-Mar-2024 Rik Huijzer <[email protected]>

Document `wasmtime serve` (#8077)

* Document `wasmtime serve`

* Mention `component` instead of `module`


Revision tags: v18.0.2, v17.0.2, v18.0.1, v18.0.0, v17.0.1, v17.0.0, v16.0.0, v15.0.1, v15.0.0, v14.0.4, v14.0.3, v14.0.2, v13.0.1, v14.0.1, v14.0.0, minimum-viable-wasi-proxy-serve, v13.0.0, v12.0.2, v11.0.2, v10.0.2, v12.0.1, v12.0.0, v11.0.1, v11.0.0, v10.0.1, v10.0.0, v9.0.4, v9.0.3, v9.0.2, v9.0.1, v9.0.0, v6.0.2, v7.0.1, v8.0.1, v8.0.0, v7.0.0, v6.0.1, v5.0.1, v4.0.1, v6.0.0, v5.0.0, v4.0.0, v3.0.1, v3.0.0, v1.0.2, v2.0.2, v2.0.1, v2.0.0, v1.0.1, v1.0.0, v0.40.1, v0.40.0, v0.39.1, v0.38.3, v0.38.2, v0.39.0, v0.38.1, v0.38.0, v0.37.0, v0.36.0, v0.35.3, v0.34.2, v0.35.2, v0.35.1, v0.35.0
# 5ff1ddee 17-Feb-2022 Kyle Brown <[email protected]>

Mention --invoke on "CLI Options for `wasmtime`" page (#3828)

* Document the invoke argument of the run command.

* Update docs/cli-options.md

Co-authored-by: Kyle Brown <[email protected]

Mention --invoke on "CLI Options for `wasmtime`" page (#3828)

* Document the invoke argument of the run command.

* Update docs/cli-options.md

Co-authored-by: Kyle Brown <[email protected]>
Co-authored-by: Nick Fitzgerald <[email protected]>

show more ...


Revision tags: v0.33.1, v0.34.1, v0.34.0, v0.33.0, v0.32.1, v0.32.0, v0.31.0, v0.30.0
# 8ebaaf92 08-Sep-2021 Alex Crichton <[email protected]>

Remove the `wasmtime wasm2obj` command (#3301)

* Remove the `wasmtime wasm2obj` command

This commit removes the `wasm2obj` subcommand of the `wasmtime` CLI.
This subcommand has a very long histo

Remove the `wasmtime wasm2obj` command (#3301)

* Remove the `wasmtime wasm2obj` command

This commit removes the `wasm2obj` subcommand of the `wasmtime` CLI.
This subcommand has a very long history and dates back quite far. While
it's existed, however, it's never been documented in terms of the output
it's produced. AFAIK it's only ever been used for debugging to see the
machine code output of Wasmtime on some modules. With recent changes to
the module serialization output the output of `wasmtime compile`, the
`*.cwasm` file, is now a native ELF file which can be fed to standard
tools like `objdump`. Consequently I dont think there's any remaining
need to keep `wasm2obj` around itself, so this commit removes the
subcommand.

* More code to delete

* Try to fix debuginfo tests

show more ...


Revision tags: v0.29.0, v0.28.0, v0.26.1, v0.27.0, v0.26.0
# 9e7d2fed 01-Apr-2021 Peter Huene <[email protected]>

Sort output in `wasmtime settings`.

This commit sorts the settings output by the `wasmtime settings` command.


# 29d366db 25-Mar-2021 Peter Huene <[email protected]>

Add a compile command to Wasmtime.

This commit adds a `compile` command to the Wasmtime CLI.

The command can be used to Ahead-Of-Time (AOT) compile WebAssembly modules.

With the `all-arch` feature

Add a compile command to Wasmtime.

This commit adds a `compile` command to the Wasmtime CLI.

The command can be used to Ahead-Of-Time (AOT) compile WebAssembly modules.

With the `all-arch` feature enabled, AOT compilation can be performed for
non-native architectures (i.e. cross-compilation).

The `Module::compile` method has been added to perform AOT compilation.

A few of the CLI flags relating to "on by default" Wasm features have been
changed to be "--disable-XYZ" flags.

A simple example of using the `wasmtime compile` command:

```text
$ wasmtime compile input.wasm
$ wasmtime input.cwasm
```

show more ...


Revision tags: v0.25.0, v0.24.0, v0.23.0, v0.22.1, cranelift-v0.69.0, v0.22.0, v0.21.0, v0.20.0, v0.19.0, v0.18.0, v0.17.0, v0.16.0, v0.15.0, cranelift-v0.62.0, cranelift-v0.61.0, cranelift-v0.60.0
# fbe29da5 08-Mar-2020 Dan Gohman <[email protected]>

Miscelaneous docs updates and fixes. (#1249)

Update references to things in CraneStation which have moved, WASI documentation
which has moved to the WASI repo, and fix a few typos.


# 8caa5a94 27-Feb-2020 Alex Crichton <[email protected]>

Spice up the project README, fill out more docs (#1010)

* Spice up the project README, fill out more docs

This is an attempt to spruce up wasmtime's README.md file as well as
fill out more of th

Spice up the project README, fill out more docs (#1010)

* Spice up the project README, fill out more docs

This is an attempt to spruce up wasmtime's README.md file as well as
fill out more of the missing documentation in the `docs/` folder.
There's still a long way to go but I hoped here to mostly move around
existing information and add new information. As always happy to have
feedback!

* Tweak CLI wording

* Remove no-longer relevant clause

* Update sandboxing docs

* Handle comments

show more ...


Revision tags: v0.12.0, v0.11.0, v0.10.0, v0.9.0, v0.8.0, v0.6.0, v0.4.0
# bf526b62 29-Oct-2019 Alex Crichton <[email protected]>

Add book documentation skeleton and auto-publish from CI (#435)

This commit adds the skeleton of a new set of documentation for
`wasmtime` in the existing `docs` directory. This documentation is
o

Add book documentation skeleton and auto-publish from CI (#435)

This commit adds the skeleton of a new set of documentation for
`wasmtime` in the existing `docs` directory. This documentation is
organized and compiled with [mdbook] which the Rust project uses for
most of its own documentation as well. At a previous meeting we
brainstormed a rough skeleton of what the documentation in this book
would look like, and I've transcribed that here for an example of how
this is rendered and how it can be laid out. No actual documentation is
written yet.

This commit also additionally adds necessary support to auto-publish
both this book documentation and API documentation every time a commit
is pushed to the `master` branch. All HTML will be automatically pushed
to the `gh-pages` branch so long as the CI passes, and this should get
deployed to https://cranestation.github.io/wasmtime.

I've done a few dry-runs and I think this'll all work, but we'll likely
tweak a few things here and there after running this through CI to make
sure everything looks just as we'd like. My hope though is that after
this lands we can start actually filling out all the documentation and
being able to review it as well.

[mdbook]: https://crates.io/crates/mdbook

show more ...