Skip to content

[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 34 commits into from
Apr 3, 2025
Merged

[0.2] Backports #4378

merged 34 commits into from
Apr 3, 2025

Conversation

Berrysoft and others added 30 commits April 3, 2025 21:25
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#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)
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)
(backport <rust-lang#4335>)
(cherry picked from commit 9f7b63f)
(backport <rust-lang#4335>)
(cherry picked from commit 5c778ef)
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)
@rustbot
Copy link
Collaborator

rustbot commented Apr 3, 2025

@tgross35: no appropriate reviewer found, use r? to override

@rustbot
Copy link
Collaborator

rustbot commented Apr 3, 2025

Some changes occurred in the Android module

cc @maurer

Some changes occurred in solarish module

cc @jclulow, @pfmooney

@tgross35 tgross35 enabled auto-merge April 3, 2025 21:45
@tgross35 tgross35 added this pull request to the merge queue Apr 3, 2025
Merged via the queue into rust-lang:libc-0.2 with commit bacd9d8 Apr 3, 2025
43 checks passed
@tgross35 tgross35 deleted the backport-enoki branch April 4, 2025 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.