- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
          feat: add aio for solarish
          #4033
        
          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
Conversation
| Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label ( 
 | 
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.
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 for the changes!
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 @jclulow for taking a look.
Changes look fine to me, I'll give psumbera a day or so to ack. @Berrysoft please squash & rebase to drop the merge commits.
5ecb911    to
    4c36413      
    Compare
  
    | ☔ The latest upstream changes (presumably #3962) made this pull request unmergeable. Please resolve the merge conflicts. | 
4c36413    to
    951bd04      
    Compare
  
    | When I try to build it on Solaris it fails with following errors: Seems that Solaris /usr/include/sys/aiocb.h was modified since the Illumos fork: Hopefully proposed CI for Solaris (#4035) will help here soon. BTW You can also inspect latest Solaris system at https://portal.cfarm.net/machines/list/ (cfarm215 and cfarm216). | 
951bd04    to
    deca9f6      
    Compare
  
    | Thank you, @psumbera ! I have changed the definition of  | 
deca9f6    to
    ccc0b07      
    Compare
  
    | 
 Thank you! The tests now pass on Solaris. | 
| I think the failed check is not related to this PR:) | 
| 
 Indeed, they should be fixed by rust-lang/rust#133050 (hopefully tomorrow's nightly) | 
(backport <rust-lang#4033>) (cherry picked from commit ccc0b07)
(backport <rust-lang#4033>) (cherry picked from commit ccc0b07)
(backport <rust-lang#4033>) (cherry picked from commit ccc0b07)
(backport <rust-lang#4033>) (cherry picked from commit ccc0b07)
(backport <rust-lang#4033>) (cherry picked from commit ccc0b07)
Description
AIO series method for solarish. The values and signatures are from illumos headers and solaris manual.
Closes #4031
Sources
https://www.illumos.org/man/3HEAD/aio.h
https://docs.oracle.com/cd/E88353_01/html/E37842/aio.h-3head.html
https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/sys/aiocb.h
https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/sys/aio.h
https://github.com/illumos/illumos-gate/blob/master/usr/src/head/aio.h
Checklist
libc-test/semverhave been updated*LASTor*MAXareincluded (see #3131)
cd libc-test && cargo test --target mytarget);especially relevant for platforms that may not be checked in CI