WASI 类


WASI 类提供了 WASI 系统调用 API 和其他方便的方法来使用基于 WASI 的应用程序。 每个 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.