Skip to content

Commit c0873b7

Browse files
authored
feat: update wasi to 0.2.10 (#300)
1 parent d591115 commit c0873b7

File tree

17 files changed

+12824
-6
lines changed

17 files changed

+12824
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (DEFINED ENV{HOST_API})
1616
folder of StarlingMonkey, or be an absolute path pointing to custom host API implementation.")
1717
endif()
1818
else()
19-
set(HOST_API ${CMAKE_CURRENT_SOURCE_DIR}/host-apis/wasi-0.2.3)
19+
set(HOST_API ${CMAKE_CURRENT_SOURCE_DIR}/host-apis/wasi-0.2.10)
2020
endif()
2121
message(STATUS "Using host API: ${HOST_API}")
2222

docs/src/SUMMARY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
# Developer Guide
1111

1212
- [Project workflow using `just`](./developer/just.md)
13-
- [Devoloping Builtins in C++](./developer/builtins-cpp.md)
14-
- [🚧 Devoloping Builtins in Rust](./developer/builtins-rust.md)
15-
- [ Devoloping Changes to SpiderMonkey](./developer/spidermonkey.md)
13+
- [Developing Builtins in C++](./developer/builtins-cpp.md)
14+
- [🚧 Developing Builtins in Rust](./developer/builtins-rust.md)
15+
- [ Developing Changes to SpiderMonkey](./developer/spidermonkey.md)
1616
- [🚧 Debugging StarlingMonkey application](./developer/debugging.md)
1717

1818
# Community

docs/src/developer/builtins-cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ StarlingMonkey provides macros and helper functions to simplify native class imp
291291

292292
The `host-apis` directory can contain implementations of the host API for different
293293
versions of WASI—or in theory any other host interface. Those can be selected by setting the
294-
`HOST_API` environment variable to the name of one of the directories. Currently, implementations in terms of wasi-0.2.0, wasi-0.2.2, and wasi-0.2.3 are provided, with the latter [used by default](https://github.com/bytecodealliance/StarlingMonkey/blob/1f5f81f6954c8c08a4d3bcec40488c29347d539c/CMakeLists.txt#L19).
294+
`HOST_API` environment variable to the name of one of the directories. Currently, implementations in terms of wasi-0.2.0, wasi-0.2.2, wasi-0.2.3, and wasi-0.2.10 are provided, with the latter [used by default](https://github.com/bytecodealliance/StarlingMonkey/blob/main/CMakeLists.txt#L19).
295295

296296
To provide a custom host API implementation, you can set `HOST_API` to the (absolute) path of a
297-
directory containing that implementation. As is done in the implementations for `wasi-0.2.{2,3}`, it's possible to extend existing implementations instead of duplicating any shared implementation.
297+
directory containing that implementation. As is done in the implementations for `wasi-0.2.{2,3,10}`, it's possible to extend existing implementations instead of duplicating any shared implementation.
298298

299299
[spidermonkey-rooting]:
300300
https://github.com/mozilla-spidermonkey/spidermonkey-embedding-examples/blob/next/docs/GC%20Rooting%20Guide.md

host-apis/wasi-0.2.10/bindings/bindings.c

Lines changed: 9149 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)