Skip to content

[35.0.0] Add #[inline] to some small functions #11252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

alexcrichton
Copy link
Member

Backport of #11235

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 bytecodealliance#10877 so this helps
benchmarks which access linear memory in host functions, for example.
@alexcrichton alexcrichton requested a review from a team as a code owner July 16, 2025 14:29
@alexcrichton alexcrichton requested review from pchickey and removed request for a team July 16, 2025 14:29
@alexcrichton alexcrichton merged commit 8f7eeb0 into bytecodealliance:release-35.0.0 Jul 16, 2025
328 of 330 checks passed
@alexcrichton alexcrichton deleted the another-back35 branch July 16, 2025 16:40
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