-
Notifications
You must be signed in to change notification settings - Fork 1k
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
preadv2 is not supported on musl libc #3760
Labels
C-API-request
Category: API request
Comments
closed by #3762 |
Thank you! |
nyurik
pushed a commit
to nyurik/libc
that referenced
this issue
Jul 26, 2024
tgross35
pushed a commit
to tgross35/rust-libc
that referenced
this issue
Aug 29, 2024
close rust-lang#3760 (apply <rust-lang#3762> to `main`) [ resolve conflicts - Trevor ] (cherry picked from commit 499ed57)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The preadv2 function is present on -gnu target, however when compiling on -musl target, which is surprising.
The jobserver-rs would like to use it to optimize it's performance rust-lang/jobserver-rs#90 (the try_acquire optimization has shipped once but reverted, so I opened another PR to use raw syscall directly).
FYI, my motivation is to that this API is used in cc-rs to improve performance.
The text was updated successfully, but these errors were encountered: