-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1968 from alexcrichton/link-c-docs
Link to C API docs and make a landing page
- Loading branch information
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/ |