Stream: git-wasmtime

Topic: wasmtime / PR #11235 Add `#[inline]` to some small functions


view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2025 at 15:00):

alexcrichton opened PR #11235 from alexcrichton:add-some-inline to bytecodealliance:main:

This adds #[inline] to some functions which are otherwise not available for cross-crate inlining. These functions started being more heavily used after historical refactorings such as #10877 so this helps benchmarks which access linear memory in host functions, for example.

<!--
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 (Jul 14 2025 at 15:00):

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

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2025 at 15:00):

alexcrichton requested pchickey for a review on PR #11235.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2025 at 15:37):

adambratschikaye commented on PR #11235:

This fixes the regression in https://github.com/bytecodealliance/wasmtime/issues/11236

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2025 at 16:21):

abrown submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2025 at 16:46):

abrown merged PR #11235.


Last updated: Dec 06 2025 at 06:05 UTC