Skip to content

[0.2] Backports#5207

Merged
tgross35 merged 80 commits into
rust-lang:libc-0.2from
tgross35:backport-king-edward
Jun 23, 2026
Merged

[0.2] Backports#5207
tgross35 merged 80 commits into
rust-lang:libc-0.2from
tgross35:backport-king-edward

Conversation

@tgross35

@tgross35 tgross35 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Backport the following:

tgross35 and others added 30 commits June 23, 2026 16:36
Since most CI for 0.2 is backports that affect all targets, don't stop
testing one target if another fails.
Bumps [vmactions/solaris-vm](https://github.com/vmactions/solaris-vm) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/vmactions/solaris-vm/releases)
- [Commits](vmactions/solaris-vm@v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: vmactions/solaris-vm
  dependency-version: 1.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5067>)
(cherry picked from commit 0dddfc8)
(backport <rust-lang#5080>)
(cherry picked from commit 2c61e19)
Add kqueue constants from <sys/event.h> that were not yet exposed:

- EVFILT_EXCEPT
- EV_UDATA_SPECIFIC, EV_DISPATCH2, EV_VANISHED
- NOTE_OOB, NOTE_FUNLOCK, NOTE_LEASE_DOWNGRADE, NOTE_LEASE_RELEASE

(backport <rust-lang#5077>)
(cherry picked from commit a070615)
(backport <rust-lang#5084>)
(cherry picked from commit 3b53a7b)
(backport <rust-lang#5085>)
(cherry picked from commit c12ee66)
(backport <rust-lang#5081>)
(cherry picked from commit 95c9572)
(backport <rust-lang#5078>)
(cherry picked from commit 3c0a00b)
Because FreeBSD 13 is officially EoL as of today.

(backport <rust-lang#5092>)
(cherry picked from commit 13f655f)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.75.21 to 2.76.0.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](taiki-e/install-action@787505c...711e1c3)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.76.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5097>)
(cherry picked from commit d1795ee)
Adds:
- IPV6_HOPLIMIT (illumos + solaris)
- IPV6_MINHOPCOUNT (illumos)
- IP_MINTTL (illumos)

Signed-off-by: Trey Aspelund <trey@oxidecomputer.com>

(backport <rust-lang#5089>)
(cherry picked from commit f8d641a)
CPU_ZERO at src/unix/cygwin/mod.rs:1712 declares its parameter as
&mut cpuset_t, but no type by that name exists in the cygwin
module. The struct is cpu_set_t (defined at line 91), and every
sibling function (CPU_SET, CPU_CLR, CPU_ISSET, CPU_COUNT,
CPU_COUNT_S, CPU_EQUAL) correctly uses cpu_set_t. The typo
prevents the cygwin module from compiling on x86_64-pc-cygwin:

  error[E0425]: cannot find type `cpuset_t` in this scope
      --> src/unix/cygwin/mod.rs:1712:34
       |
  1712 |     pub fn CPU_ZERO(cpuset: &mut cpuset_t) -> () {
       |                                  ^^^^^^^^

After this fix, libc and libc-test build cleanly for
x86_64-pc-cygwin and the full libc-test suite passes (2968 ctest
cases, all other targets green).

(backport <rust-lang#5098>)
(cherry picked from commit 41f2d1d)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.76.0 to 2.77.6.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](taiki-e/install-action@711e1c3...c070f87)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.77.6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5100>)
(cherry picked from commit ed7ac8a)
Bumps [MarcoIeni/release-plz-action](https://github.com/marcoieni/release-plz-action) from 0.5.128 to 0.5.129.
- [Release notes](https://github.com/marcoieni/release-plz-action/releases)
- [Commits](release-plz/action@1528104...064f4d1)

---
updated-dependencies:
- dependency-name: MarcoIeni/release-plz-action
  dependency-version: 0.5.129
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5101>)
(cherry picked from commit c9f2d1d)
Also updates ELAST to 107 since a new error was added.

(backport <rust-lang#4925>)
(cherry picked from commit e4d0aa8)
(backport <rust-lang#5104>)
(cherry picked from commit a3e451c)
(backport <rust-lang#5105>)
(cherry picked from commit cb5ab4c)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.77.6 to 2.79.1.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](taiki-e/install-action@c070f87...b550161)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.79.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5109>)
(cherry picked from commit c5c1a5a)
(backport <rust-lang#5103>)
(cherry picked from commit 7e1465f)
Bumps [vmactions/solaris-vm](https://github.com/vmactions/solaris-vm) from 1.3.3 to 1.3.5.
- [Release notes](https://github.com/vmactions/solaris-vm/releases)
- [Commits](vmactions/solaris-vm@c20562b...ccfaaee)

---
updated-dependencies:
- dependency-name: vmactions/solaris-vm
  dependency-version: 1.3.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5114>)
(cherry picked from commit 59e4578)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.79.1 to 2.79.7.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](taiki-e/install-action@b550161...d9be7d8)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.79.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5115>)
(cherry picked from commit c513452)
(backport <rust-lang#5113>)
(cherry picked from commit 88ea64b)
(backport <rust-lang#5117>)
(cherry picked from commit 7491ac8)
Add timer_create, timer_delete, timer_getoverrun, timer_gettime, and
timer_settime to the Android extern block. These are standard POSIX
per-process timer functions provided by Bionic but missing from the
libc crate's Android bindings.

(backport <rust-lang#5108>)
(cherry picked from commit 2364caf)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.79.7 to 2.81.2.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](taiki-e/install-action@d9be7d8...6887963)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.81.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5135>)
(cherry picked from commit a10b351)
devnexen and others added 20 commits June 23, 2026 22:13
The type with which it was defined did not reflect the right definition,
not by musl standard nor by the actual definitions found in the latest
OhOS SDK. Indeed, `c_long` in Linux systems is likely to be defined as a
64-bit integer, but the definition in all of the above, which are
mentioned to be used by TEEOS in the rustc target information, define
`time_t` specifically as an `_Int64`.

Sources are included in the accompanying PR.

(backport <rust-lang#5130>)
(cherry picked from commit ba27d37)
Closes rust-lang#3014
Supersedes rust-lang#3015

(backport <rust-lang#5160>)
(cherry picked from commit 2330f64)
this patch annotates symbols that are known to have been the source of
semver-breaking issues by using a macro for which another pr has been
opened. these issues have been tracked thus far in rust-lang#3131.

(backport <rust-lang#5118>)
(cherry picked from commit aab67be)
This has the effect of making `MOVE_MOUNT_*` constants available on all
Linux platforms, not just glibc.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/mount.h?h=028ef9c96e96197026887c0f092424679298aae8

(backport <rust-lang#5182>)
(cherry picked from commit 2ba56c8)
(backport <rust-lang#5046>)
(cherry picked from commit 24952f3)
(backport <rust-lang#5088>)
(cherry picked from commit 413bb61)
Add SOL_LOCAL constant (value 0) to FreeBSD to match Apple/macOS targets and allow setting local socket options.

(backport <rust-lang#5185>)
(cherry picked from commit 5614859)
A recent patch [1] overhauled the `uclibc` module to add support for
"toggling" 64-bit `time_t`. That patch, though, was centered around
supported 32-bit arm targets.

This patch extends that to all platforms whose target environment
matches `uclibc`. This option is mahine word-independent.

[1]: rust-lang@2549bd4

(backport <rust-lang#5144>)
(cherry picked from commit 6029717)
We set `-Dwarnings` in CI which will check this. There is no need to
prevent building locally with incomplete changes.

(backport <rust-lang#5190>)
(cherry picked from commit 6300136)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.81.10 to 2.82.2.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](taiki-e/install-action@7a79fe8...9e1e580)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.82.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5192>)
(cherry picked from commit 851e9f7)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6.0.2...9c091bb)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5193>)
(cherry picked from commit 8e99b03)
Bumps [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) from 0.5.3 to 0.5.7.
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](zizmorcore/zizmor-action@b1d7e1f...192e21d)

---
updated-dependencies:
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.5.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5194>)
(cherry picked from commit c16a5a8)
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 1.4.6 to 1.4.8.
- [Release notes](https://github.com/vmactions/freebsd-vm/releases)
- [Commits](vmactions/freebsd-vm@a6de934...b84ab55)

---
updated-dependencies:
- dependency-name: vmactions/freebsd-vm
  dependency-version: 1.4.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

(backport <rust-lang#5195>)
(cherry picked from commit daaf25f)
@rustbot

rustbot commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in a NetBSD-like module

cc @semarie

Some changes occurred in a solarish module

cc @jclulow, @pfmooney

Some changes occurred in an Android module

cc @maurer

Some changes occurred in an OpenBSD module

cc @semarie

@rustbot rustbot added A-CI Area: CI-related items S-waiting-on-review labels Jun 23, 2026
@rustbot

rustbot commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Warning ⚠️

  • Pull requests are usually filed against the main branch for this repo, but this one is against libc-0.2. Please double check that you specified the right target!

@tgross35 tgross35 added this pull request to the merge queue Jun 23, 2026
Merged via the queue into rust-lang:libc-0.2 with commit 786098c Jun 23, 2026
53 checks passed
@tgross35 tgross35 deleted the backport-king-edward branch June 23, 2026 22:58
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.