alexcrichton opened PR #12245 from alexcrichton:try-to-fix-symbol to bytecodealliance:main:
This is an attempt to address #12217 which applies a similar workaround found in #11960 to this naked function as well. Effectively it looks like
#[unsafe(naked)]is buggy to the point that the user of the function symbol must be#[inline(never)]and in the same module, otherwise it won't work correctly.Closes #12217
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested wasmtime-core-reviewers for a review on PR #12245.
alexcrichton requested dicej for a review on PR #12245.
dicej submitted PR review.
alexcrichton merged PR #12245.
Last updated: Jan 09 2026 at 13:15 UTC