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 support for illumos #371

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Add support for illumos #371

merged 1 commit into from
Oct 28, 2024

Conversation

sunshowers
Copy link
Contributor

With this commit, ipc-channel works and the full test suite passes on illumos. I've also added a small amount of debug logging that was invaluable to me while porting over ipc-channel to illumos.

I'm also happy to set up cross-compile CI, and if there's interest then I could chat with folks at Oxide about providing resources for runtime CI as well.

With this commit, ipc-channel works and the full test suite passes on illumos.
I've also added a small amount of debug logging that was invaluable to me while
porting over ipc-channel to illumos.

I'm also happy to set up cross-compile CI, and if there's interest then I could
chat with folks at Oxide about providing resources for runtime CI as well.
Comment on lines +54 to 57
#[cfg(not(any(target_os = "linux", target_os = "illumos")))]
const SOCK_FLAGS: c_int = 0;

#[cfg(target_os = "linux")]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

illumos also has MSG_CMSG_CLOEXEC but that isn't exposed in libc -- will put up a PR to add that to libc, and update this code when that's ready.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah turns out it is incredibly recent, just 3 months old haha. illumos/illumos-gate@0250c53

Copy link
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

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

Looks reasonable!

@jdm
Copy link
Member

jdm commented Oct 28, 2024

We've merged OpenBSD support previously without adding explicit CI for it. I'd probably lump Illumos into a similar bucket; it's provided as a best-effort by contributors who have access to hardware and motivation to support it.

@jdm jdm added this pull request to the merge queue Oct 28, 2024
Merged via the queue into servo:main with commit 66453c0 Oct 28, 2024
17 checks passed
@sunshowers sunshowers deleted the illumos branch October 28, 2024 07:35
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.

2 participants