Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[25.0.0] Add -Wasync-stack-size, automatically configure it too #9305

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

alexcrichton
Copy link
Member

This is a backport of #9302 to be a 25.0.1 release later today or tomorrow.

…iance#9302)

* Add `-Wasync-stack-size`, automatically configure it too

Recently the `wasmtime` CLI switched from sync to async to handle
interrupting host APIs in WASI. Previously the CLI provided no means
to configure the async stack size, however, which now means that when
increasing the max wasm stack the CLI prints an error that cannot be
resolved about the wasm stack being larger than the async stack. This
commit fixes this issue by both adding a configuration option for the
async stack size and additionally automatically increasing the async
stack size when only the wasm stack size is provided.

Closes bytecodealliance#9298

* Fix feature-gated build
@alexcrichton alexcrichton requested review from a team as code owners September 24, 2024 20:31
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team September 24, 2024 20:31
@fitzgen fitzgen enabled auto-merge (squash) September 24, 2024 20:40
@fitzgen fitzgen merged commit 611f79d into bytecodealliance:release-25.0.0 Sep 24, 2024
123 checks passed
@alexcrichton alexcrichton deleted the backport2 branch September 24, 2024 20:57
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