Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenBSD support #1318

Open
lcheylus opened this issue Jul 23, 2024 · 3 comments
Open

Add OpenBSD support #1318

lcheylus opened this issue Jul 23, 2024 · 3 comments

Comments

@lcheylus
Copy link

I would like to add support for OpenBSD OS (target_os = "openbsd" for rustc).

I think some features will require some addionnal code in rust-lang/libc.

@GuillaumeGomez
Copy link
Owner

Indeed. I needed to make quite a lot of changes to libc. But the biggest requirement will be for CI: sysinfo needs a CI running openbsd (preferrably not in a VM).

@lcheylus
Copy link
Author

There is no GitHub runner for OpenBSD.

The only solution I know is to use the GH action vmactions/openbsd-vm to use it in CI:

  • run OpenBSD VM with this action
  • install rustc via OpenBSD package (no rustup support for this OS)
  • run build/tests via shell script.

@GuillaumeGomez
Copy link
Owner

I know. I use CirrusCI for mac M1 and freebsd. So other CIs are also an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants