Solaris: fixes build and tests, adds CI#2544
Conversation
SteveLauC
left a comment
There was a problem hiding this comment.
Thanks for the PR! Sorry for a bunch of comments 🫣
|
BTW, looks like |
0aaaff7 to
429af01
Compare
28fe095 to
884888f
Compare
|
Hurd CI failure seems to be related to rust-lang/libc#3785. |
Right, std is broken due to that PR I just sent a patch to the std: rust-lang/rust#133515 |
|
I just disabled the Hurd CI, you can rebase your branch to fix the issue:) |
96856f1 to
4218b1e
Compare
Disables some tests for Solaris. test/test_sendfile.rs: Solaris, sendfilev() doesn't support AF_UNIX sockets. Instead, it expects an AF_INET or AF_INET6 sockets. test/sys/test_timer.rs: Note that sys::test_timer::alarm_fires can fail as timer_create(3C) function requires the PRIV_PROC_CLOCK_HIGHRES. But since tests are supposed to run with sudo it should be ok.
|
@SteveLauC any chance for new |
I will give myself a push this weekend, but I cannot guarantee, I will try... |
Just gentle ping here. I really don't know how to make Rust language build to use latest NIx sources. |
|
0.30.0 released: https://crates.io/crates/nix/0.30.0 |
Disables some tests for Solaris.
test/test_sendfile.rs:
Solaris, sendfilev() doesn't support AF_UNIX sockets. Instead, it expects an AF_INET or AF_INET6 sockets.