Skip to content

Conversation

@alexcrichton
Copy link
Member

This is an attempt to apply a local fix for #11957 which works around the upstream Rust issue mentioned in that issue.

This is an attempt to apply a local fix for bytecodealliance#11957 which works around
the upstream Rust issue mentioned in that issue.
@alexcrichton alexcrichton added this pull request to the merge queue Nov 3, 2025
Merged via the queue into bytecodealliance:main with commit 1700302 Nov 3, 2025
45 checks passed
@alexcrichton alexcrichton deleted the try-fix-lto-and-naked-issue branch November 3, 2025 16:02
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Nov 3, 2025
This is an attempt to apply a local fix for bytecodealliance#11957 which works around
the upstream Rust issue mentioned in that issue.
alexcrichton added a commit that referenced this pull request Nov 4, 2025
This is an attempt to apply a local fix for #11957 which works around
the upstream Rust issue mentioned in that issue.
alexcrichton added a commit to alexcrichton/wasmtime that referenced this pull request Jan 6, 2026
This is an attempt to address bytecodealliance#12217 which applies a similar workaround
found in bytecodealliance#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 bytecodealliance#12217
github-merge-queue bot pushed a commit that referenced this pull request Jan 6, 2026
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
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