类:WASI
【Class: 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.】