Skip to content

Add OpenBSD support in wasmtime for setjmp/longjmp#12097

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
lcheylus:openbsd-wasmtime
Dec 2, 2025
Merged

Add OpenBSD support in wasmtime for setjmp/longjmp#12097
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
lcheylus:openbsd-wasmtime

Conversation

@lcheylus

Copy link
Copy Markdown
Contributor

In crates/wasmtime/src/runtime/vm/sys/unix/signals.rs, add case for OpenBSD/x86_64 according to libc https://github.com/rust-lang/libc/blob/main/src/unix/bsd/netbsdlike/openbsd/x86_64.rs

This fix is needed after this commit 192f2fc

Build and tests OK on OpenBSD/current amd64:

In crates/wasmtime/src/runtime/vm/sys/unix/signals.rs, add case for
OpenBSD/x86_64 according to libc (src/unix/bsd/netbsdlike/openbsd/x86_64.rs)

Signed-off-by: Laurent Cheylus <foxy@free.fr>
@lcheylus
lcheylus requested a review from a team as a code owner November 27, 2025 11:06
@lcheylus
lcheylus requested review from pchickey and removed request for a team November 27, 2025 11:06
@lcheylus

Copy link
Copy Markdown
Contributor Author

@CalebHeydon Maybe are you interested with this fix (I saw your fix for OpenBSD in PR #8613).

@github-actions github-actions Bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Nov 27, 2025

@alexcrichton alexcrichton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alexcrichton
alexcrichton added this pull request to the merge queue Dec 1, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 1, 2025
@alexcrichton
alexcrichton added this pull request to the merge queue Dec 1, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 1, 2025
@alexcrichton

Copy link
Copy Markdown
Member

Looks like github is having one of its days. I'll enqueue this later to try again.

@alexcrichton
alexcrichton added this pull request to the merge queue Dec 2, 2025
Merged via the queue into bytecodealliance:main with commit 196f09f Dec 2, 2025
45 checks passed
@lcheylus
lcheylus deleted the openbsd-wasmtime branch December 2, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants