Skip to content

Update Wasmtime used in testing - #894

Merged
alexcrichton merged 4 commits into
WebAssembly:mainfrom
alexcrichton:update-wasmtime
Nov 23, 2026
Merged

alexcrichton merged 4 commits into
WebAssembly:mainfrom
alexcrichton:update-wasmtime

Conversation

@alexcrichton

Copy link
Copy Markdown
Collaborator

Keeping it up-to-date

jrandolf pushed a commit to jrandolf/wasmtime that referenced this pull request Nov 3, 2026
This commit adds a configuration knob on `WasiCtxBuilder` to control the
default and maximum sizes of buffers used throughout wasmtime-wasi where
necessary. These sizes have historically been limited in the past to
ensure that guest memory usage is capped but this can cause real-world
programs to break such as in WebAssembly/wasi-libc#894 where Python
expects a `write` with a large size to succeed all in one go and doesn't
internally have a retry loop for remaining bytes.

The default value of 64KiB is not changed in this commit, but the
`wasmtime` CLI now has a default buffer size of 2MiB to work with more
programs by default.
Keeping it up-to-date
@alexcrichton
alexcrichton enabled auto-merge (squash) November 23, 2026 18:25
@alexcrichton
alexcrichton merged commit 37377f6 into WebAssembly:main Nov 23, 2026
37 checks passed
@alexcrichton
alexcrichton deleted the update-wasmtime branch November 23, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants