@@ -14,26 +14,27 @@ utility or as a library embedded in a larger application.
14
14
[ ![ Gitter chat] ( https://badges.gitter.im/CraneStation/CraneStation.svg )] ( https://gitter.im/CraneStation/Lobby )
15
15
![ Minimum rustc 1.32] ( https://img.shields.io/badge/rustc-1.32+-green.svg )
16
16
17
- * Wasmtime is complete enough to pass the WebAssembly spec testsuite. * Support for
18
- system APIs is coming soon!
17
+ Wasmtime passes the WebAssembly spec testsuite, and supports a new system
18
+ API proposal called [ WebAssembly System Interface ] , or WASI.
19
19
20
- One goal for this project is to implement [ CloudABI ] ( https://cloudabi.org/ ) using
21
- WebAssembly as the code format, provide [ CloudABI system calls ] as WebAssembly
22
- host imports, and then port the [ Rust CloudABI package ] and [ CloudABI libc ] to it
23
- to support Rust, C, C++, and other toolchains .
20
+ There are Rust C, and C++ toolchains that can compile programs with WASI. See
21
+ [ here ] [ WASI intro ] for more information, and [ here ] [ WASI tutorial ] for a
22
+ tutorial on compiling and running programs using WASI and wasmtime, as
23
+ well as an overview of the filesystem sandboxing system .
24
24
25
- CloudABI is a natural complement for WebAssembly, since WebAssembly provides
26
- sandboxing for code but doesn't have any builtin I/O, and CloudABI provides
27
- sandboxed I/O.
25
+ Wasmtime does not yet implement Spectre mitiations, such as those being
26
+ pioneered [ by] ( https://www.wasmjit.org/blog/spectre-mitigations-part-1.html )
27
+ [ wasmjit] ( https://www.wasmjit.org/blog/spectre-mitigations-part-2.html ) ,
28
+ however this is a subject of ongoing research.
28
29
29
30
[ CloudABI ] : https://cloudabi.org/
30
- [ CloudABI system calls ] : https://github.com/NuxiNL/cloudabi#specification-of-the-abi
31
- [ Rust CloudABI package ] : https://crates.io/crates/cloudabi
32
- [ CloudABI libc ] : https://github.com/NuxiNL/cloudlibc
31
+ [ WebAssembly System Interface ] : docs/WASI-overview.md
32
+ [ WASI intro ] : docs/WASI-intro.md
33
+ [ WASI tutorial ] : docs/WASI-tutorial.md
33
34
34
35
Additional goals for Wasmtime include:
35
- - Support a variety of host APIs (not just CloudABI ), with fast calling sequences,
36
- and develop proposals for system calls in the WebAssembly
36
+ - Support a variety of host APIs (not just WASI Core ), with fast calling sequences,
37
+ and develop proposals for additional API modules to be part of WASI.
37
38
[ Reference Sysroot] ( https://github.com/WebAssembly/reference-sysroot ) .
38
39
- Implement the [ proposed WebAssembly C API] .
39
40
- Facilitate testing, experimentation, and development around the [ Cranelift] and
0 commit comments