Stream: git-wasmtime

Topic: wasmtime / PR #8613 Added OpenBSD support to wasmtime's s...


view this post on Zulip Wasmtime GitHub notifications bot (May 14 2024 at 03:07):

CalebHeydon opened PR #8613 from CalebHeydon:main to bytecodealliance:main:

This pull request adds support for OpenBSD to the wasmtime-runtime crate. The change is very small. It just adds a case for OpenBSD on x86_64. I'm not trying to port the entire project to OpenBSD. I'm just trying to get this crate to work because I am trying to get the Zed editor to run on OpenBSD.

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2024 at 03:07):

CalebHeydon requested wasmtime-core-reviewers for a review on PR #8613.

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2024 at 03:07):

CalebHeydon requested elliottt for a review on PR #8613.

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2024 at 14:47):

alexcrichton submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2024 at 15:49):

alexcrichton merged PR #8613.

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2024 at 16:42):

fitzgen commented on PR #8613:

Is there not an official openbsd target in rustup? I was looking at adding a CI check to ensure that this will keep compiling in the future, and I didn't see anything. I find that a little surprising.

view this post on Zulip Wasmtime GitHub notifications bot (May 14 2024 at 16:56):

cfallin commented on PR #8613:

Unfortunately no, because OpenBSD is explicit about not guaranteeing kernel ABI stability between releases (sort of the opposite of the Linux kernel's never-break-userland rule).

In my limited explorations here, on a native OpenBSD system the package system does have Rust but it's quickly out of date; the only way to have a current Rust compiler is to run OpenBSD -CURRENT (the development branch) with its version of the package tree.

(To @CalebHeydon: at one point I got all of wasmtime building and working on OpenBSD in #2980, but abandoned the effort because keeping everything up-to-date and building given the above vs. MSRV policies was just too much work. Maybe things will change eventually!)

view this post on Zulip Wasmtime GitHub notifications bot (Jun 05 2024 at 08:12):

lcheylus commented on PR #8613:

@CalebHeydon Thanks for your fix to add support for OpenBSD. With it, I was able to build successfully Yara-X https://github.com/VirusTotal/yara-x :)


Last updated: Nov 22 2024 at 16:03 UTC