-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Allows build on Solaris (#1877) #1916
Conversation
(Note that there might be some problems with |
Can you add a separate commit that bumps the MSRV? |
Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! What happened to the FFI definitions drafted in libc that were thought to be necessary?
Unfortunately at this moment tests are failing like this
That's unfortunate. Is there an upstream issue open for the behavior in tokio or mio that you suspect is responsible?
Regardless, the most important question is whether the quinn-udp tests pass. Do they?
aad1909
to
951e2f5
Compare
I'm keeping
Note that use of modified This is because I had to include to
With use of
I had to disable some tests the same way NetBSD and OpenBSD do and it now passes like this:
|
If the definitions introduced/altered in the libc PR are necessary for the quinn-udp changes to work, then please vendor them in this PR, as mentioned in #1877 (comment). Once the libc change is merged and released, we can drop the vendored definitions. |
951e2f5
to
7da82ef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Do you know of any good ways to test Solaris in CI?
Now with libc 0.2.158 everything should be ok. |
Unfortunately no. There is Solaris CBE release which could be used (https://blogs.oracle.com/solaris/post/announcing-the-first-oracle-solaris-114-cbe). But I don't know how this could be used for CI... |
The vmactions org (whose Action we use for FreeBSD) appears to also have a Solaris action: |
For what it is worth, here is the equivalent FreeBSD workflow mentioned above: quinn/.github/workflows/rust.yml Lines 12 to 33 in b9ce9c8
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! CI coverage would be a great follow-up.
This allows build on Solaris. Unfortunately at this moment tests are failing like this: