Stream: git-wasmtime

Topic: wasmtime / PR #13438 Route GC arrays through `translate_e...


view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 19:34):

alexcrichton opened PR #13438 from alexcrichton:gc-arrays-are-entities to bytecodealliance:main:

This commit updates as necessary to route GC array copies/fills/etc through the translate_entity_* infrastructure. This helps ensure that everything stays in the same funnel to get fuel checks, bounds checks, epoch checks, etc. The primary purpose of this commit is refactoring and code deduplication.

<!--
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 (May 21 2026 at 19:34):

alexcrichton requested cfallin for a review on PR #13438.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 19:34):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #13438.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 19:34):

alexcrichton requested wasmtime-core-reviewers for a review on PR #13438.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 19:42):

:memo: fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 19:42):

:speech_balloon: fitzgen created PR review comment:

Why did this signature become fallible even though the function itself isn't fallible? This (along with the similar change to get_gc_heap_bound) seems to have added a whole bunch of noise to the diff.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 20:05):

:memo: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 20:05):

:speech_balloon: alexcrichton created PR review comment:

This was needed because the func_environ.rs file started calling this function, but it's only conditionally defined depending on the gc feature.

Personally I'd like to actually remove the crate features of the wasmtime-internal-cranelift crate entirely since I don't think we benefit much from conditionally-compiled compiler code and it'd clean up the internals quite a bit (and be easier to mantain). I figured I'd defer that to a future PR though.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 20:06):

:memo: fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 20:06):

:speech_balloon: fitzgen created PR review comment:

Ah okay, that makes sense. Will take a look at this PR in a minute.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 20:18):

alexcrichton updated PR #13438.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 21:08):

:thumbs_up: fitzgen submitted PR review:

LGTM!

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 21:08):

fitzgen added PR #13438 Route GC arrays through translate_entity_* to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 21:45):

:check: fitzgen merged PR #13438.

view this post on Zulip Wasmtime GitHub notifications bot (May 21 2026 at 21:45):

fitzgen removed PR #13438 Route GC arrays through translate_entity_* from the merge queue


Last updated: Jun 01 2026 at 09:49 UTC