Skip to content

Commit

Permalink
note about wasi
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumer committed Oct 21, 2024
1 parent d6a0133 commit e87fc31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/null0.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export async function setupCart (
null0: wireCartToHost(host, cart),

// minimal WASI that only allows console logging
// TODO: make this work with zip fs directly, and fill in much more WASI
wasi_snapshot_preview1: {
fd_write (fd, iovsPtr, iovsLength, bytesWrittenPtr) {
const iovs = new Uint32Array(
Expand Down

0 comments on commit e87fc31

Please sign in to comment.