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

Add -Wasync-stack-size, automatically configure it too #9302

Merged

Commits on Sep 24, 2024

  1. 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
    alexcrichton committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    7f816c7 View commit details
    Browse the repository at this point in the history
  2. Fix feature-gated build

    alexcrichton committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    022aa68 View commit details
    Browse the repository at this point in the history