Skip to content

[37.0.0] Fix externref/anyref ownership in C/C++ API#11800

Merged
alexcrichton merged 3 commits intobytecodealliance:release-37.0.0from
alexcrichton:fix-c-api-onwership37
Oct 7, 2025
Merged

[37.0.0] Fix externref/anyref ownership in C/C++ API#11800
alexcrichton merged 3 commits intobytecodealliance:release-37.0.0from
alexcrichton:fix-c-api-onwership37

Conversation

@alexcrichton
Copy link
Member

This commit is a follow-up to #11514 which was discovered through failing tests in the wasmtime-py repository when updating to Wasmtime 37.0.0. This is a backport to the 37.0.x release branch which contains the minimal infrastructure necessary to get to parity with main in terms of avoiding leaks. Care is taken to avoid changing any public APIs here which means that some previously-provided parameters are no longer used, for example.

This commit is a follow-up to bytecodealliance#11514 which was discovered through
failing tests in the wasmtime-py repository when updating to Wasmtime
37.0.0. This is a backport to the 37.0.x release branch which contains
the minimal infrastructure necessary to get to parity with `main` in
terms of avoiding leaks. Care is taken to avoid changing any public APIs
here which means that some previously-provided parameters are no longer
used, for example.
@alexcrichton alexcrichton requested a review from a team as a code owner October 7, 2025 14:28
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team October 7, 2025 14:28
@alexcrichton alexcrichton enabled auto-merge (squash) October 7, 2025 14:46
@alexcrichton alexcrichton requested a review from a team as a code owner October 7, 2025 14:51
@alexcrichton alexcrichton merged commit 72dcebc into bytecodealliance:release-37.0.0 Oct 7, 2025
168 checks passed
@alexcrichton alexcrichton deleted the fix-c-api-onwership37 branch October 7, 2025 16:37
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