-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[0.2] Backports #4378
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
Merged
Merged
[0.2] Backports #4378
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Needed by rustix support: * statfs, fstatfs, and struct statfs * posix_fadvise, posix_fallocate, fallocate, and constants (backport <rust-lang#4321>) (cherry picked from commit f007c3e)
(backport <rust-lang#4288>) (cherry picked from commit 70527d1)
(backport <rust-lang#4325>) (cherry picked from commit cf6113d)
(backport <rust-lang#4324>) (cherry picked from commit 9b40335)
(backport <rust-lang#4337>) (cherry picked from commit bb7f778)
(backport <rust-lang#4337>) (cherry picked from commit 317391c)
and align Android + Linux (backport <rust-lang#4330>) (cherry picked from commit 97432d1)
(backport <rust-lang#4320>) (cherry picked from commit ec47180)
(backport <rust-lang#4347>) (cherry picked from commit c023ed5)
The existing bindings were added in rust-lang#1399 and limited to targets where rustc used musl version >= 1.1.20 which was not all musl targets at that time. Since rust-lang/rust#107129 all musl targets use musl 1.2.3. Hence, move the binding to the module root so it is available for all musl targets. (backport <rust-lang#4346>) (cherry picked from commit 77d3011)
(backport <rust-lang#4344>) (cherry picked from commit d6ccb3d)
(backport <rust-lang#4344>) (cherry picked from commit 248734e)
(backport <rust-lang#4344>) (cherry picked from commit 13ac7db)
(backport <rust-lang#4338>) (cherry picked from commit a42eea3)
[solaris](https://docs.oracle.com/cd/E88353_01/html/E37843/secure-getenv-3c.html) [illumos](https://github.com/illumos/illumos-gate/blob/dc7ec32189c86a0f330aee77229dad2ad57eac71/usr/src/man/man3c/getenv.3c#L12) (backport <rust-lang#4342>) (cherry picked from commit 351a99d)
(backport <rust-lang#4335>) (cherry picked from commit 60b8b39)
(backport <rust-lang#4335>) (cherry picked from commit 9f7b63f)
(backport <rust-lang#4335>) (cherry picked from commit 5c778ef)
(backport <rust-lang#4335>) (cherry picked from commit 60a445c)
(backport <rust-lang#4348>) (cherry picked from commit 141c6d7)
Signed-off-by: jimmycathy <[email protected]> (backport <rust-lang#4334>) (cherry picked from commit 2c85704)
(backport <rust-lang#4353>) (cherry picked from commit 7103b87)
(backport <rust-lang#4350>) (cherry picked from commit 29d3d14)
(backport <rust-lang#4352>) (cherry picked from commit c3dab47)
(backport <rust-lang#4352>) (cherry picked from commit ba681b3)
And fill semver file for cygwin. (backport <rust-lang#4357>) (cherry picked from commit 5c8804b)
Adds missing pthread_attr_setstack. The getter function pthread_attr_getstack is already defined. (backport <rust-lang#4349>) (cherry picked from commit 087ede1)
illumos and NetBSD >= 10 support Linux-compatble timerfd APIs. This is based on the headers for [illumos] and [NetBSD]. [illumos]: https://code.illumos.org/plugins/gitiles/illumos-gate/+/refs/heads/master/usr/src/uts/common/sys/timerfd.h#34 [NetBSD]: https://nxr.netbsd.org/xref/src/sys/sys/timerfd.h#44 (backport <rust-lang#4333>) (cherry picked from commit b2b1702)
…Solaris implementation with FFI (backport <rust-lang#4329>) (cherry picked from commit e9d29ec)
sort semver/linux.txt properly (backport <rust-lang#4296>) (cherry picked from commit bdcb3eb)
(backport <rust-lang#4326>) (cherry picked from commit 43d5a53)
[ref](https://sites.uclouvain.be/SystInfo/usr/include/linux/filter.h.html) (backport <rust-lang#4356>) (cherry picked from commit 9b8242d)
(backport <rust-lang#4363>) (cherry picked from commit 6198136)
(backport <rust-lang#4363>) (cherry picked from commit a1a956d)
@tgross35: no appropriate reviewer found, use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-CI
Area: CI-related items
O-android
O-arm
O-illumos
O-linux
O-linux-like
O-musl
O-riscv
O-solarish
O-unix
O-x86
S-waiting-on-review
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport the following:
getrandom
on all musl platforms #4346AF_*
values #4344