Skip to content

Conversation

alexcrichton
Copy link
Member

Joel and I went down a deep rabbit hole today trying to figure out what's going on with a new code pattern which was being flagged as violating stacked borrows. At the end of the day I'm honestly not 100% sure what this doing or how to explain all the behavior we were seeing, but this seems to be basically equivalent and we're otherwise able to get a bit further so I figured I'd commit this.

Along the way I updated the preexisting table-intrinsics test to correctly use the table it was supposed to be using instead of using the previous table by accident.

Joel and I went down a deep rabbit hole today trying to figure out
what's going on with a new code pattern which was being flagged as
violating stacked borrows. At the end of the day I'm honestly not 100%
sure what this doing or how to explain all the behavior we were seeing,
but this seems to be basically equivalent and we're otherwise able to
get a bit further so I figured I'd commit this.

Along the way I updated the preexisting `table-intrinsics` test to
correctly use the table it was supposed to be using instead of using the
previous table by accident.
@alexcrichton alexcrichton requested a review from a team as a code owner June 11, 2025 22:52
@alexcrichton alexcrichton requested review from dicej and removed request for a team June 11, 2025 22:52
@alexcrichton alexcrichton enabled auto-merge June 11, 2025 22:57
@alexcrichton alexcrichton added this pull request to the merge queue Jun 11, 2025
Merged via the queue into bytecodealliance:main with commit fcf4e0e Jun 11, 2025
41 checks passed
@alexcrichton alexcrichton deleted the fix-another-miri-borrow branch June 11, 2025 23:26
dicej pushed a commit to dicej/wasmtime that referenced this pull request Jun 17, 2025
…1019)

Joel and I went down a deep rabbit hole today trying to figure out
what's going on with a new code pattern which was being flagged as
violating stacked borrows. At the end of the day I'm honestly not 100%
sure what this doing or how to explain all the behavior we were seeing,
but this seems to be basically equivalent and we're otherwise able to
get a bit further so I figured I'd commit this.

Along the way I updated the preexisting `table-intrinsics` test to
correctly use the table it was supposed to be using instead of using the
previous table by accident.
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