forked from bytecodealliance/wasmtime
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link to C API docs and make a landing page
Spice up the landing page a bit for the C API documentation and then link to it from a few places to ensure it's discoverable.
- Loading branch information
1 parent
47a218f
commit 920e098
Showing
4 changed files
with
95 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Implementation of wasm-c-api in Rust | ||
# Wasmtime's C API | ||
|
||
https://github.com/WebAssembly/wasm-c-api | ||
For more information you can find the documentation for this library | ||
[online](https://bytecodealliance.github.io/wasmtime/c-api/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
# Embedding in C | ||
|
||
This section is intended to showcase the C embedding API for Wasmtime. The C | ||
embedding API is based on the [proposed wasm C embedding API][proposal] (namely | ||
[`wasm.h`]) and has a few extension headers (like [`wasi.h`] and | ||
[`wasmtime.h`]) which are intended to eventually become part of the standard | ||
themselves one day. | ||
This section is intended to showcase the C embedding API for Wasmtime. Full | ||
reference documentation for the C API [can be found online][online] | ||
|
||
[proposal]: https://github.com/webassembly/wasm-c-api | ||
[`wasm.h`]: https://github.com/WebAssembly/wasm-c-api/blob/master/include/wasm.h | ||
[`wasi.h`]: https://github.com/bytecodealliance/wasmtime/blob/main/crates/c-api/include/wasi.h | ||
[`wasmtime.h`]: https://github.com/bytecodealliance/wasmtime/blob/main/crates/c-api/include/wasmtime.h | ||
[online]: https://bytecodealliance.github.io/wasmtime/c-api/ |