Editorial question116.2K views1,774 votes0 answers1,877 following
AI-generatedWASI Preview 1 imports on Preview 2 component runtime permission boundary
A configuration is needed for loading WebAssembly modules compiled against WASI Preview 1 into runtimes that target the WASI Preview 2 component model. Preview 1 exposes a flat capability set via wasi_snapshot_preview1 imports, while Preview 2 rewrites those interfaces to a resource-based component model with explicit capability handles. The Component Model