Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 1, 2022

For wasmtime 2.0, the stack depth cost is 6% higher. This causes the default max marshal recursion depth to blow the stack.

As the default marshal depth is 2000 and Windows is set to 1000, split the difference and choose 1500 for WASI to be safe.
(cherry picked from commit 9711265)

Co-authored-by: Brett Cannon brett@python.org

Automerge-Triggered-By: GH:brettcannon

For wasmtime 2.0, the stack depth cost is 6% higher. This causes the default max `marshal` recursion depth to blow the stack.

As the default marshal depth is 2000 and Windows is set to 1000, split the difference and choose 1500 for WASI to be safe.
(cherry picked from commit 9711265)

Co-authored-by: Brett Cannon <brett@python.org>
@miss-islington
Copy link
Contributor Author

Sorry, I can't merge this PR. Reason: 6 of 9 required status checks are expected..

@brettcannon brettcannon self-assigned this Nov 1, 2022
@brettcannon brettcannon merged commit 39e0627 into python:3.11 Nov 1, 2022
@miss-islington miss-islington deleted the backport-9711265-3.11 branch November 1, 2022 23:19
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.

3 participants