Skip to content

Commit

Permalink
Wasi snapshot preview1 (WebAssembly#140)
Browse files Browse the repository at this point in the history
* Make __wasi_linkcount_t a uint64_t (WebAssembly#134)

Refs: WebAssembly/WASI#127

* Generate the WASI interface from witx.

This replaces the hand-maintained <wasi/core.h> header with a
<wasi/api.h> generated from witx.

Most of the churn here is caused by upstream WASI renamings; hopefully
in the future ABI updates will be less noisy.
  • Loading branch information
sunfishcode committed Nov 22, 2019
1 parent 54102f0 commit 446cb3f
Show file tree
Hide file tree
Showing 87 changed files with 3,973 additions and 1,329 deletions.
2 changes: 1 addition & 1 deletion expected/wasm32-wasi/include-all.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
#include <uchar.h>
#include <unistd.h>
#include <values.h>
#include <wasi/core.h>
#include <wasi/api.h>
#include <wasi/libc-find-relpath.h>
#include <wasi/libc.h>
#include <wchar.h>
Expand Down
Loading

0 comments on commit 446cb3f

Please sign in to comment.