|
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 |
|
| #
63f094df |
| 15-Oct-2025 |
Tim Chevalier <[email protected]> |
docs: Add an example application that embeds Wasmtime in order to use plugins (#11848)
* docs: Add an example application that embeds Wasmtime in order to use plugins
* Add exact version to clap de
docs: Add an example application that embeds Wasmtime in order to use plugins (#11848)
* docs: Add an example application that embeds Wasmtime in order to use plugins
* Add exact version to clap dependency
* Re-generate Cargo.lock
* Address review feedback
* Refactor args structs
* Address further review comments
* Exclude calculator example from `cargo doc` in CI
show more ...
|
|
Revision tags: v37.0.2 |
|
| #
97e0b7db |
| 29-Sep-2025 |
Alex Crichton <[email protected]> |
Reorganize example documentation (#11757)
* Reorganize example documentation
This commit reorganizes example documentation in our online documentation. The main changes here are:
* Chapter-per-lan
Reorganize example documentation (#11757)
* Reorganize example documentation
This commit reorganizes example documentation in our online documentation. The main changes here are:
* Chapter-per-language is now removed in favor of tabs-in-a-page for avoiding having the book be so large. Tabs are made with [mdbook-langtabs]. * Language-specific pages are all consolidated into a single page. * Language-specific documentation now only mentions where to find docs instead of trying to document an intro for each language here. * "Further examples" was folded into the main API section, meaning we just have one chapter of a lot of examples.
The main goal is to make the book less overwhelming from an example perspective and ideally make it a bit easier to discover things. The langtabs plugin is nice but not perfect, e.g. it doesn't support `#`-anchors nor remembers which language you were looking at. Overall though I feel this is still better than before.
[mdbook-langtabs]: https://github.com/nx10/mdbook-langtabs
* Fix typos
* Remove testing of mdbook from CI
show more ...
|
|
Revision tags: v37.0.1, v37.0.0 |
|
| #
eaa01d7b |
| 02-Sep-2025 |
Till Schneidereit <[email protected]> |
[docs] Add C++ chapter and missing examples (#11569)
* [docs] Add C++ chapter and missing examples
This adds a chapter for C++ embedding. The chapter intro is rudimentary, but there are a bunch mor
[docs] Add C++ chapter and missing examples (#11569)
* [docs] Add C++ chapter and missing examples
This adds a chapter for C++ embedding. The chapter intro is rudimentary, but there are a bunch more examples now: I added C++ ports for everything that already had both a Rust and a C version available, matching the Rust version's behavior where applicable.
* [example] Fix paths in `examples/wasip1/main.c`
* [docs] Add entries for additional Rust and C embedding examples
These examples already existed, but didn't have entries in the docs.
It'll probably make sense to restructure all of this at some point and move the examples into language-specific folders.
* [docs] Remove references to Conan packages from README.md
These packages haven't been updated since Wasmtime 18, so we shouldn't link to them for now.
* Format cpp files
* Format even more cpp files
* Fix some warnings in C++ headers
* Simplify threads.cc example
* Update docs/examples-c-serialize.md
Co-authored-by: Nick Fitzgerald <[email protected]>
* [example] Don't try, do.
* [docs] Restore CMake link in README
* [docs] Improve examples/README.md
* [docs] Address review feedback
---------
Co-authored-by: Alex Crichton <[email protected]> Co-authored-by: Nick Fitzgerald <[email protected]>
show more ...
|
|
Revision tags: v36.0.2, v36.0.1, v36.0.0 |
|
| #
69fecf4e |
| 30-Jul-2025 |
Nick Fitzgerald <[email protected]> |
Add contributor docs about our RFC process (#11349)
We have some off-hand links to particular RFCs in our docs, but did not have any general information about our usage of the RFC process. I've adde
Add contributor docs about our RFC process (#11349)
We have some off-hand links to particular RFCs in our docs, but did not have any general information about our usage of the RFC process. I've added that information in this commit.
show more ...
|
|
Revision tags: 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, v33.0.0 |
|
| #
54988feb |
| 22-Apr-2025 |
Nick Fitzgerald <[email protected]> |
Add a bunch of cookbook-style "how do I do X?" examples to the book (#10630)
This tries to cover things that we repeatedly get questions about on Zulip.
|
|
Revision tags: v32.0.0, v31.0.0, v30.0.2, v30.0.1, v30.0.0 |
|
| #
7ebb78a8 |
| 29-Jan-2025 |
Alex Crichton <[email protected]> |
Add a style guideline for conditional compilation (#10144)
* Add a style guideline for conditional compilation
I've been doing a fair amount of work recently that's touched on `#[cfg]` in many ways
Add a style guideline for conditional compilation (#10144)
* Add a style guideline for conditional compilation
I've been doing a fair amount of work recently that's touched on `#[cfg]` in many ways throughout Wasmtime. I've personally got opinions about how to structure everything as well, and these opinions are not always obvious to others or discerned from just reading snippets. To assist with this I figured it would be nice to have a style guideline for Wasmtime's conditionally compiled code explaining at least at a high level what's going on and some rough basic principles.
I've attempted to give this a stab and have added a page to the contributing documentation about the style guidelines for conditional compilation. I'm sure I've forgotten something here but my hope is that we can evolve this over time.
* Fix typo
* Fix code examples
show more ...
|
| #
8a969897 |
| 23-Jan-2025 |
Alex Crichton <[email protected]> |
Add book-level documentation for Pulley (#10095)
* Add book-level documentation for Pulley
This commit adds some longer form documentation about Pulley in Wasmtime's online documentation book. This
Add book-level documentation for Pulley (#10095)
* Add book-level documentation for Pulley
This commit adds some longer form documentation about Pulley in Wasmtime's online documentation book. This covers topics such as:
* What is Pulley? * How to enable Pulley? * What happens when using Pulley. * Advantages/disadvantages of Pulley. * High-level design of Pulley. * Decompiling `*.cwasm` Pulley opcodes. * Profiling Pulley.
* Update docs/examples-pulley.md
Co-authored-by: Joel Dice <[email protected]>
* Don't test examples
---------
Co-authored-by: Joel Dice <[email protected]>
show more ...
|
|
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 |
|
| #
a8998e7c |
| 10-Oct-2024 |
Alex Crichton <[email protected]> |
Update docs/stabilization of wasm proposals (#9434)
* Update docs/stabilization of wasm proposals
This commit updates our documentation and documented status of various WebAssembly proposals. The g
Update docs/stabilization of wasm proposals (#9434)
* Update docs/stabilization of wasm proposals
This commit updates our documentation and documented status of various WebAssembly proposals. The goal of this commit it to explicitly list all requirements for each WebAssembly proposal in a way such that enabling a feature requires actively checking this table and performing effort to fill in. This is intended to mitigate GHSA-q8hx-mm92-4wvg where it was found that we were accidentally not fuzzing tail calls but had enabled it by default.
This shuffles around some documentation, modernizes a bit, and notably tries to list out a green checkbox or red X for the status of various proposals. Notes for "holes" in the "on by default matrix" are also added.
* Add a link to the GC tracking issue
* Tweak the list of supported targets
Android is listed in Tier 3 now
show more ...
|
| #
866ede95 |
| 10-Oct-2024 |
Alex Crichton <[email protected]> |
Document a Wasmtime-specific vulnerability runbook (#9433)
This commit codifies the process [documented here](https://github.com/bytecodealliance/rfcs/blob/main/accepted/vulnerability-response-runbo
Document a Wasmtime-specific vulnerability runbook (#9433)
This commit codifies the process [documented here](https://github.com/bytecodealliance/rfcs/blob/main/accepted/vulnerability-response-runbook.md) in the Wasmtime repository as it relates to Wasmtime itself. There's also a few minor changes from recent advisories such as:
* We'll no longer use the publish-the-changes-from-the-advisory feature from GitHub. That basically just doesn't work any more. * PRs will instead be manually created to have CI run on them to weed out any issues. * Details about preparing the `main` branch ahead of the release are interleaved with the rest of the runbook.
The intention is to supplement the official runbook with Wasmtime-specific information and flesh out a few minor steps we're following that are "extra" here too.
show more ...
|
|
Revision tags: 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 |
|
| #
310e6677 |
| 14-Mar-2024 |
Rik Huijzer <[email protected]> |
Reorder book-based documentation (#8130)
On a high level, this is what this PR changed:
1. Move the CLI chapter before the API chapter. I think this makes sense because the CLI is more high-lev
Reorder book-based documentation (#8130)
On a high level, this is what this PR changed:
1. Move the CLI chapter before the API chapter. I think this makes sense because the CLI is more high-level. The same change was proposed in https://github.com/bytecodealliance/wasmtime/pull/7987. 1. Move some Rust and C examples from the "Examples" chapter into the API chapter. 1. Remove the original main C and Rust chapter introduction files. They contained mostly outdated or duplicate information. 1. Rename the "Examples" chapter to "Further Examples". (For lack of a better name.) 1. Rename "Embedding" to "API" at some places since API is a more generally known term. The term "embedding" is also slightly more confusing, I think, because the term nowadays also used a lot in LLM-related communication. 1. Read through the entire document and fix some outdated links and information. 1. Fix a missing subheading for Elixir (it was mentioned on the lang page, but not in the menu).
show more ...
|
|
Revision tags: v18.0.3, v18.0.2, v17.0.2, v18.0.1, v18.0.0 |
|
| #
b762a912 |
| 20-Feb-2024 |
Nick Fitzgerald <[email protected]> |
Add "what is a security vulnerability?" page to docs (#7963)
Taken from the recently merged RFC: https://github.com/bytecodealliance/rfcs/blob/main/accepted/what-is-considered-a-security-bug.md
|
|
Revision tags: v17.0.1, v17.0.0 |
|
| #
aafe0a6f |
| 16-Jan-2024 |
Nick Fitzgerald <[email protected]> |
docs: Add a page about test case reduction (#7780)
|
|
Revision tags: 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 |
|
| #
d86afc02 |
| 19-Oct-2023 |
Alex Crichton <[email protected]> |
Gate many CLI/Wasmtime features behind Cargo features (#7282)
* Move `wasmtime explore` behind a Cargo feature
Enable this Cargo feature by default, but enable building the CLI without the `explore
Gate many CLI/Wasmtime features behind Cargo features (#7282)
* Move `wasmtime explore` behind a Cargo feature
Enable this Cargo feature by default, but enable building the CLI without the `explore` subcommand.
* Move the `wast` subcommand behind a Cargo feature
* Move support for `wat` behind a CLI feature
This was already conditional in crates such as `wasmtime` and this makes it an optional dependency of the CLI as well.
* Move CLI cache support behind a Cargo feature
Additionally refactor `wasmtime-cli-flags` to not unconditionally pull in caching support by removing its `default` feature and appropriately enabling it from the CLI.
* Move `rayon` behind an optional feature
* Move `http-body-util` dependency behind `serve` feature
* Add a Cargo feature for compiling out log statements
This sets the static features of `log` and `tracing` to statically remove all log statements from the binary to cut down on binary size.
* Move logging support behind a Cargo feature
Enables statically removing logging support in addition to the previous compiling out log statements themselves.
* Move demangling support behind a Cargo feature
* Enable building the CLI without cranelift
Compile out the `compile` subcommand for example.
* Gate all profiling support behind one feature flag
This commit moves vtune/jitdump support behind a single `profiling` feature flag that additionally includes the guest profiler dependencies now too.
* Move support for core dumps behind a feature flag
* Move addr2line behind a feature
* Fix rebase
* Document cargo features and a minimal build
* Tidy up the source a bit
* Rename compile-out-logging
* Document disabling logging
* Note the host architecture as well
* Fix tests
* Fix tests
* Mention debuginfo stripping
* Fix CI configuration for checking features
* Fix book tests
* Update lock file after rebase
* Enable coredump feature by default
show more ...
|
|
Revision tags: minimum-viable-wasi-proxy-serve |
|
| #
5c1557d2 |
| 26-Sep-2023 |
Nick Fitzgerald <[email protected]> |
Add docs and example for debugging with core dumps (#7087)
* Add docs for debugging with core dumps
* Fix reference to old style CLI flag
* Add `no_run` to example that is only there to trap
|
|
Revision tags: v13.0.0, v12.0.2, v11.0.2, v10.0.2 |
|
| #
0ee66411 |
| 11-Sep-2023 |
Alex Crichton <[email protected]> |
Bring some of Wasmtime's documentation more up-to-date (#6994)
* Remove tutorial/wasm-writing documentation
This commit removes the tutorial and "Writing WebAssembly" documentation sections from Wa
Bring some of Wasmtime's documentation more up-to-date (#6994)
* Remove tutorial/wasm-writing documentation
This commit removes the tutorial and "Writing WebAssembly" documentation sections from Wasmtime's documentation. These sections are quite dated at this point (they still recommend `cargo wasi`!) and haven't been updated much since their inception, especially in the arena of components. Today it seems best to leave this sort of documentation to [other resources] which are more tailored towards documentation of writing wasm.
[other resources]: https://component-model.bytecodealliance.org/
* Remove markdown example from docs
Like the previous commit this is quite dated and recommends effectively-deprecated tooling and doesn't take into account components.
* Update our intro docs a bit
* Link security blog post from docs
* Fold docs of wasm proposals into tier docs
This was already a bit duplicated so consolidate into one location. Additionally add some proposals that weren't previously documented and move some around based on their implementation status.
* Document unsupported features
In an effort to head off questions about platform support I figure it might be a good idea to start documenting what's not supported at this time. This is intended to mirror the current state, not future, of Wasmtime. In other words this should answer the question of "Does Wasmtime support X?" as opposed to "Does Wasmtime want to support X?" since we want to eventually support all of these features in the limit.
* Fold WASI docs into tier docs
Similar to the previous commit but for WASI proposals.
show more ...
|
|
Revision tags: v12.0.1, v12.0.0 |
|
| #
4799ea11 |
| 17-Aug-2023 |
Chris Fallin <[email protected]> |
wmemcheck: update docs. (#6856)
* wmemcheck: update docs.
This PR expands the documentation for the Wasm memchecker (`wmemcheck`) feature significantly, and also links it from the top-level documen
wmemcheck: update docs. (#6856)
* wmemcheck: update docs.
This PR expands the documentation for the Wasm memchecker (`wmemcheck`) feature significantly, and also links it from the top-level documentation hierarchy.
* Add syntax/language annotations to quotation sections to keep mdbook happy.
show more ...
|
|
Revision tags: v11.0.1, v11.0.0 |
|
| #
a90f625f |
| 18-Jul-2023 |
Marco Concetto Rudilosso <[email protected]> |
Add docs on how to profile with samply and perfmaps (#6720)
* Add docs on how to profile with samply and perfmaps
* add summary entry for samply and specify building from source
|
| #
05a02ef3 |
| 05-Jul-2023 |
Andrew Brown <[email protected]> |
Add `cli-logging.md` to summary (#6688)
This should fix the broken link reported in #6679; closes #6679.
|
|
Revision tags: v10.0.1, v10.0.0, v9.0.4, v9.0.3, v9.0.2, v9.0.1, v9.0.0 |
|
| #
1b99b1fa |
| 17-May-2023 |
Jamey Sharp <[email protected]> |
Basic guest-profiler documentation for the book (#6393)
* Basic guest-profiler documentation for the book
* Review comments
|
| #
6af4303a |
| 05-May-2023 |
Jamey Sharp <[email protected]> |
Document our PR reviewer auto-assignment expectations (#6346)
|
|
Revision tags: v6.0.2, v7.0.1, v8.0.1, v8.0.0, v7.0.0, v6.0.1, v5.0.1, v4.0.1 |
|
| #
eaf4e9d3 |
| 01-Mar-2023 |
Andrew Brown <[email protected]> |
doc: add a page listing supported proposals (#5781)
* doc: add a page listing supported proposals
This adds a table showing Wasmtime's support for various WASI proposals, much like the one availabl
doc: add a page listing supported proposals (#5781)
* doc: add a page listing supported proposals
This adds a table showing Wasmtime's support for various WASI proposals, much like the one available for WebAssembly proposals. This change is related to [#2423], which provides guidelines for implementing WASI proposals but was never merged.
[#2423]: https://github.com/bytecodealliance/wasmtime/pull/2423
* review: remove phase-gating sentence
show more ...
|
|
Revision tags: v6.0.0, v5.0.0 |
|
| #
ff995d91 |
| 22-Dec-2022 |
Jimmy Bourassa <[email protected]> |
Add more links to Ruby bindings (#5486)
PR #5485 added doc pages for the Ruby bindings, but didn't link to it
from the sidebar nor lang page. This commit fixes that.
|
|
Revision tags: v4.0.0, v3.0.1, v3.0.0 |
|
| #
54a290cd |
| 16-Nov-2022 |
Nick Fitzgerald <[email protected]> |
Docs: Expand cross compiling section into its own page (#5284)
And fill out everything needed for all non-x64 targets supported by Wasmtime and
Cranelift.
|
|
Revision tags: v1.0.2, v2.0.2, v2.0.1, v2.0.0, v1.0.1, v1.0.0, v0.40.1, v0.40.0 |
|
| #
6d6e7e0f |
| 29-Jul-2022 |
Alex Crichton <[email protected]> |
Add definitions of tiers-of-support for Wasmtime (#4479)
* Add definitions of tiers-of-support for Wasmtime
This commit adds documentation of a Tiers-based system for classifying
how supported a
Add definitions of tiers-of-support for Wasmtime (#4479)
* Add definitions of tiers-of-support for Wasmtime
This commit adds documentation of a Tiers-based system for classifying
how supported a component is within Wasmtime. This was somewhat
pioneered in the [Wasmtime 1.0 RFC][rfc] but the documentation here is
expanded to include more than just API stability but additionally other
components. Inspiration for this is drawn from Rust's definition of
[support tiers][rust] as well.
The motivation for this is to help clarify what exactly it means to live
at each tier and what is expected. For example one thing this document
clarifies is the requirements necessary for landing new major changes in
Wasmtime at all. Additionally this helps clarify what it means to have
the highest level of support vs "otherwise well supported".
[rfc]: https://github.com/bytecodealliance/rfcs/blob/main/accepted/wasmtime-one-dot-oh.md#tier-1---api-stable-production-quality
[rust]: https://doc.rust-lang.org/rustc/target-tier-policy.html
* Review comments
* Review comments
show more ...
|
|
Revision tags: v0.39.1, v0.38.3, v0.38.2, v0.39.0, v0.38.1, v0.38.0 |
|
| #
a75f383f |
| 20-May-2022 |
Alex Crichton <[email protected]> |
Improve the `wasmtime` crate's README (#4174)
* Improve the `wasmtime` crate's README
This commit is me finally getting back to #2688 and improving the README
of the `wasmtime` crate. Currently
Improve the `wasmtime` crate's README (#4174)
* Improve the `wasmtime` crate's README
This commit is me finally getting back to #2688 and improving the README
of the `wasmtime` crate. Currently we have a [pretty drab README][drab]
that doesn't really convey what we want about Wasmtime.
While I was doing this I opted to update the feature list of Wasmtime as
well in the main README (which is mirrored into the crate readme),
namely adding a bullet point for "secure" which I felt was missing
relative to how we think about Wasmtime.
Naturally there's a lot of ways to paint this shed, so feedback is of
course welcome on this! (I'm not the best writer myself)
[drab]: https://crates.io/crates/wasmtime/0.37.0
* Expand the "Fast" bullet a bit more
* Reference the book from the wasmtime crate
* Update more security docs
Also merge the sandboxing security page with the main security page to
avoid the empty security page.
show more ...
|