make it compile on openbsd#73
Open
jan-schreib wants to merge 1 commit into
Open
Conversation
This was referenced Jan 4, 2026
|
cc @johalun |
Owner
|
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. |
Contributor
|
I haven't used it myself, but you can do ci on openbsf via
https://man.sr.ht/builds.sr.ht/compatibility.md . Or, just do a cross
compile check from some other host.
…On Sun, Jan 18, 2026, 9:51 PM Johannes Lundberg ***@***.***> wrote:
*johalun* left a comment (johalun/sysctl-rs#73)
<#73 (comment)>
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.
—
Reply to this email directly, view it on GitHub
<#73 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA7VOLBZ2CNNQFYYJMGSKL4HRPFTAVCNFSM6AAAAACQVBB2VWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTONRWGM4DQNZVGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Owner
|
Can we add OpenBSD to CI with workflows? |
Contributor
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? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enables compilation on OpenBSD.
Since OpenBSD does support
sysctlbynamendsysctlnametomibthe 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.