pepyakin opened PR #4295 from pep-doc-stk-ovf
to main
:
I realized this when I was reading code while I was hacking on #4109. I figured that this would better be explicitly stated.
pepyakin updated PR #4295 from pep-doc-stk-ovf
to main
.
alexcrichton created PR review comment:
This actually isn't quite accurate in that the stack limit is only set on the first function call, although that's probably important to call out here. For example if wasm is allowed 2M of stack, then if a first wasm call consumes 1M, a host call then consumes 1M, then wasm is reentered it will immediately trap since the limit from the original 2M has been reached.
alexcrichton submitted PR review.
alexcrichton submitted PR review.
pepyakin updated PR #4295 from pep-doc-stk-ovf
to main
.
pepyakin created PR review comment:
Oh right, I ignored this part I assumed it is reftypes only. Nice to know! 5904b47 should fix that
pepyakin submitted PR review.
alexcrichton submitted PR review.
alexcrichton merged PR #4295.
Last updated: Nov 22 2024 at 16:03 UTC