WASI 类


WASI 类提供了 WASI 系统调用 API 和其他方便的方法来使用基于 WASI 的应用程序。 每个 WASI 实例代表一个不同的沙箱环境。

The WASI class provides the WASI system call API and additional convenience methods for working with WASI-based applications. Each WASI instance represents a distinct sandbox environment. For security purposes, each WASI instance must have its command line arguments, environment variables, and sandbox directory structure configured explicitly.