Skip to content

Commit

Permalink
Remove host API implementations targeting WASIp2 prereleases.
Browse files Browse the repository at this point in the history
Closes #65.
  • Loading branch information
tschneidereit committed Jun 22, 2024
1 parent cdd2d4f commit a087997
Show file tree
Hide file tree
Showing 89 changed files with 5 additions and 28,627 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ If your builtin requires multiple `.cpp` files, you can pass all of them to `add

### Providing a custom host API implementation

The [host-apis](host-apis) directory contains implementations of the host API for different versions of WASI. Those can be selected by setting the `HOST_API` environment variable to the name of one of the directories. By default, the [wasi-0.2.0](host-apis/wasi-0.2.0) host API is used.
The [host-apis](host-apis) directory can contain implementations of the host API for different
versions of WASI—or in theory any other host interface. Those can be selected by setting the
`HOST_API` environment variable to the
name of one of the directories. Currently, only an implementation in terms of [wasi-0.2.0]
(host-apis/wasi-0.2.0) is provided, and used by default.

To provide a custom host API implementation, you can set `HOST_API` to the (absolute) path of a directory containing that implementation.
5,726 changes: 0 additions & 5,726 deletions host-apis/wasi-0.2.0-rc-2023-10-18/bindings/bindings.c

This file was deleted.

2,909 changes: 0 additions & 2,909 deletions host-apis/wasi-0.2.0-rc-2023-10-18/bindings/bindings.h

This file was deleted.

Binary file not shown.
Loading

0 comments on commit a087997

Please sign in to comment.