Browse Source
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).pull/8137/head
Rik Huijzer
8 months ago
committed by
GitHub
9 changed files with 40 additions and 53 deletions
@ -1,6 +1 @@ |
|||||
# Embedding in C |
# C |
||||
|
|
||||
This section is intended to showcase the C embedding API for Wasmtime. Full |
|
||||
reference documentation for the C API [can be found online][online] |
|
||||
|
|
||||
[online]: https://bytecodealliance.github.io/wasmtime/c-api/ |
|
||||
|
@ -1,6 +0,0 @@ |
|||||
# Embedding in Rust |
|
||||
|
|
||||
This section is intended to showcase the Rust embedding API for Wasmtime. This |
|
||||
is done through the [`wasmtime` crate](https://crates.io/crates/wasmtime). In |
|
||||
addition to browsing the following examples you can also browse the [full API |
|
||||
documentation](https://docs.rs/wasmtime). |
|
@ -1,4 +1,4 @@ |
|||||
# Examples |
# Further Examples |
||||
|
|
||||
The examples contained in this section explain how to use Wasmtime in several |
The examples contained in this section explain how to use Wasmtime in several |
||||
common scenarios. |
common scenarios. |
||||
|
@ -1,7 +1,6 @@ |
|||||
# C |
# Embedding in C |
||||
|
|
||||
... more coming soon |
This section is intended to showcase the C embedding API for Wasmtime. Full |
||||
|
reference documentation for the C API [can be found online][online]. |
||||
|
|
||||
In the meantime, have a look at the [C API docs]. |
[online]: https://bytecodealliance.github.io/wasmtime/c-api/ |
||||
|
|
||||
[C API docs]: https://bytecodealliance.github.io/wasmtime/c-api/ |
|
||||
|
Loading…
Reference in new issue