]> git.proxmox.com Git - wasi-libc.git/commitdiff
Correct minor typo in c_headers.rs (#166)
authorDaniel Bevenius <daniel.bevenius@gmail.com>
Fri, 7 Feb 2020 13:18:10 +0000 (14:18 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2020 13:18:10 +0000 (05:18 -0800)
The header api.h was update using the following command:
$ cd tools/wasi-headers
$ cargo run -- WASI/phases/snapshot/witx/typenames.witx \
  WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx \
  --output ../../libc-bottom-half/headers/public/wasi/api.h

libc-bottom-half/headers/public/wasi/api.h
tools/wasi-headers/src/c_header.rs

index a9683e617f22cf89217c746fb221bcd13cddf608..2033d6b9bc264ad6261e020403953fe530b0adbc 100644 (file)
@@ -7,7 +7,7 @@
  * and defined values (macros).
  *
  * The interface described here is greatly inspired by [CloudABI]'s clean,
- * thoughtfully-designed, cabability-oriented, POSIX-style API.
+ * thoughtfully-designed, capability-oriented, POSIX-style API.
  *
  * [CloudABI]: https://github.com/NuxiNL/cloudlibc
  * [WASI]: https://github.com/WebAssembly/WASI/
index d37094ab14665e0b25751cdffcf1c8449624ef40..b379bcaa4a5d6acaf855d5fc850c6929994ee845 100644 (file)
@@ -14,7 +14,7 @@ pub(crate) fn to_c_header(doc: &Document, inputs_str: &str) -> String {
  * and defined values (macros).
  *
  * The interface described here is greatly inspired by [CloudABI]'s clean,
- * thoughtfully-designed, cabability-oriented, POSIX-style API.
+ * thoughtfully-designed, capability-oriented, POSIX-style API.
  *
  * [CloudABI]: https://github.com/NuxiNL/cloudlibc
  * [WASI]: https://github.com/WebAssembly/WASI/