Skip to content

Build pingora-core on illumos and Solaris - #997

Open
nwilkens wants to merge 2 commits into
cloudflare:mainfrom
nwilkens:illumos-daemon-gid
Open

Build pingora-core on illumos and Solaris#997
nwilkens wants to merge 2 commits into
cloudflare:mainfrom
nwilkens:illumos-daemon-gid

Conversation

@nwilkens

@nwilkens nwilkens commented Sep 6, 2026

Copy link
Copy Markdown

pingora-core does not compile on illumos (x86_64-unknown-illumos):

  • server/daemon.rs only defines group_id for linux, macos and freebsd. On illumos gid_t is u32, so the linux arm applies.
  • socket2::SockRef::set_reuse_port does not exist on illumos or Solaris. Instead of skipping the option silently, so_reuseport now returns a BindError there.

Verified with cargo check and cargo build natively on SmartOS with the openssl and rustls features.

🤖 Generated with Claude Code

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.

1 participant