Skip to content

make it compile on openbsd#73

Open
jan-schreib wants to merge 1 commit into
johalun:masterfrom
jan-schreib:openbsd-run
Open

make it compile on openbsd#73
jan-schreib wants to merge 1 commit into
johalun:masterfrom
jan-schreib:openbsd-run

Conversation

@jan-schreib
Copy link
Copy Markdown

This PR enables compilation on OpenBSD.
Since OpenBSD does support sysctlbyname nd sysctlnametomib the changes to fix the compilation issues are pretty invasive.

A lot of functionality is not working and it should be verified what still is.
I'll try to use it with rustfs and go from there.

Closes #63 if merged.

@houseme
Copy link
Copy Markdown

houseme commented Jan 5, 2026

cc @johalun

@johalun
Copy link
Copy Markdown
Owner

johalun commented Jan 19, 2026

Hey! Thanks for the PR and sorry for letting this sit. I'll get to it shortly. Unfortunately Cirrus CI doesn't seem to support OpenBSD and I don't have any such system so there's no way to test the build as part of the build pipeline.

@asomers
Copy link
Copy Markdown
Contributor

asomers commented Jan 19, 2026 via email

@johalun
Copy link
Copy Markdown
Owner

johalun commented Apr 16, 2026

Can we add OpenBSD to CI with workflows?

@asomers
Copy link
Copy Markdown
Contributor

asomers commented Apr 16, 2026

Can we add OpenBSD to CI with workflows?

We can. We can use the exact same nested virtualization technique that I used in #75 . But the question is: if this crate breaks on OpenBSD, who will fix it?

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.

fails to build on openbsd

4 participants