Stream: git-wasmtime

Topic: wasmtime / PR #12191 Debug: clarify safety around Activat...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2025 at 23:16):

cfallin requested alexcrichton for a review on PR #12191.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2025 at 23:16):

cfallin opened PR #12191 from cfallin:debug-frame-cursor-safety to bytecodealliance:main:

As per [this discussion], we decided that we would handle potential frame-cursor invalidation unsafety (with a hypothetical future frame-editing debugger API) by putting unsafe on that future hypothetical API rather than on the cursor construction. With the APIs available today on the Store, there is no way to invalidate the frame cursor while within its lifetime-bounded scope (with lifetime tied to the Store that is passed into the hostcall creating the cursor), so the API today should be completely safe. This PR makes it so.

[this discussion]: https://github.com/bytecodealliance/wasmtime/pull/12176#discussion_r2636431864

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Dec 19 2025 at 23:16):

cfallin requested wasmtime-core-reviewers for a review on PR #12191.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 22 2025 at 16:06):

alexcrichton commented on PR #12191:

I think StoreBacktrace::store_mut should be safe now as well, right?

view this post on Zulip Wasmtime GitHub notifications bot (Dec 22 2025 at 16:30):

cfallin updated PR #12191.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 22 2025 at 16:30):

cfallin commented on PR #12191:

Yep, good call -- updated!

view this post on Zulip Wasmtime GitHub notifications bot (Dec 22 2025 at 16:36):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 22 2025 at 16:40):

cfallin has enabled auto merge for PR #12191.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 22 2025 at 17:06):

cfallin merged PR #12191.


Last updated: Jan 09 2026 at 13:15 UTC