Skip to content

chore(deps): bump libc from 0.2.186 to 0.2.187#1670

Merged
dependabot-pr-auto-approver[bot] merged 1 commit into
mainfrom
dependabot/cargo/libc-0.2.187
Jul 21, 2026
Merged

chore(deps): bump libc from 0.2.186 to 0.2.187#1670
dependabot-pr-auto-approver[bot] merged 1 commit into
mainfrom
dependabot/cargo/libc-0.2.187

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 21, 2026

Copy link
Copy Markdown
Contributor

Bumps libc from 0.2.186 to 0.2.187.

Release notes

Sourced from libc's releases.

0.2.187

This release contains a number of improvements related to 64-bit time_t configuration. Of note the existing RUST_LIBC_UNSTABLE_* environment variables have been replaced with configuration options. The new way to use these is:

RUSTFLAGS='--cfg=libc_unstable_musl_v1_2_3' cargo ...
RUSTFLAGS='--cfg=libc_unstable_gnu_time_bits="64"' cargo ...

Being able to set this via RUSTFLAGS makes it easier to only apply configuration to specific targets (and notably, not the host if build scripts are used).

There are two other notable changes:

  • The 32-bit windows-gnu targets now respect libc_unstable_gnu_time_bits

  • uClibc now supports a similar configuration option:

    RUSTFLAGS='--cfg=libc_unstable_uclibc_time64'

As a reminder, these options are under active development and may change in the future (hence the "unstable" in the name). It likely that we will harmonize everything under a single configuration option before considering them stable.

Support

  • Add support for aarch64-unknown-linux-pauthtest (#5065)
  • Add support for new QNX targets (#5241)
  • Better document breaking change policy and recommended usage (#5179)

Added

  • Android: Add POSIX_SPAWN_* constants (#5104)
  • Android: Add getpwent, setpwent, and endpwent (#5160)
  • Android: Add preadv2 and pwritev2 (#5157)
  • Android: Add seccomp_notif* structures (#5224)
  • Android: Add timer_[create, delete, getoverrun, gettime, settime] (#5108)
  • Apple: Add PROC_PIDT_SHORTBSDINFO and proc_bsdshortinfo (#5110)
  • Apple: Add SIOC* constants from sockio.h (#5263)
  • Apple: Add _IOR, _IOW, _IOWR (#5264)
  • Apple: Add bpf_program and bpf_insn (#5235)
  • Apple: Add additional kqueue constants (#5077)
  • Apple: Update vm_statistics64 with recently added fields (#5253)
  • Apple: add IN6_IFF_* and SIOCGIFAFLAG_IN6 (#5239)
  • Dragonfly: Add O_*, POSIX_FADV_*, NI*, and a few other missing constants (#5116)
  • Dragonfly: add fdatasync, dlvsym, reallocarray, qsort_r, pthread_*affinity_np, ftok, extattr_*, and dup3 (#5116)
  • Emscripten: Add in6_pktinfo (#5256)
  • FreeBSD: Add SOL_LOCAL (#5185)

... (truncated)

Changelog

Sourced from libc's changelog.

0.2.187 - 2026-07-20

This release contains a number of improvements related to 64-bit time_t configuration. Of note the existing RUST_LIBC_UNSTABLE_* environment variables have been replaced with configuration options. The new way to use these is:

RUSTFLAGS='--cfg=libc_unstable_musl_v1_2_3' cargo ...
RUSTFLAGS='--cfg=libc_unstable_gnu_time_bits="64"' cargo ...

Being able to set this via RUSTFLAGS makes it easier to only apply configuration to specific targets (and notably, not the host if build scripts are used).

There are two other notable changes:

  • The 32-bit windows-gnu targets now respect libc_unstable_gnu_time_bits

  • uClibc now supports a similar configuration option:

    RUSTFLAGS='--cfg=libc_unstable_uclibc_time64'

As a reminder, these options are under active development and may change in the future (hence the "unstable" in the name). It likely that we will harmonize everything under a single configuration option before considering them stable.

Support

  • Add support for aarch64-unknown-linux-pauthtest (#5065)
  • Add support for new QNX targets (#5241)
  • Better document breaking change policy and recommended usage (#5179)

Added

  • Android: Add POSIX_SPAWN_* constants (#5104)
  • Android: Add getpwent, setpwent, and endpwent (#5160)
  • Android: Add preadv2 and pwritev2 (#5157)
  • Android: Add seccomp_notif* structures (#5224)
  • Android: Add timer_[create, delete, getoverrun, gettime, settime] (#5108)
  • Apple: Add PROC_PIDT_SHORTBSDINFO and proc_bsdshortinfo (#5110)
  • Apple: Add SIOC* constants from sockio.h (#5263)
  • Apple: Add _IOR, _IOW, _IOWR (#5264)
  • Apple: Add bpf_program and bpf_insn (#5235)
  • Apple: Add additional kqueue constants (#5077)
  • Apple: Update vm_statistics64 with recently added fields (#5253)
  • Apple: add IN6_IFF_* and SIOCGIFAFLAG_IN6 (#5239)
  • Dragonfly: Add O_*, POSIX_FADV_*, NI*, and a few other missing constants (#5116)
  • Dragonfly: add fdatasync, dlvsym, reallocarray, qsort_r, pthread_*affinity_np, ftok, extattr_*, and dup3 (#5116)
  • Emscripten: Add in6_pktinfo (#5256)

... (truncated)

Commits
  • ee05190 libc: Release 0.2.187
  • 13b2218 unix: add preadv2 and pwritev2 to android
  • abc9903 docs: Improve the pull request template and CONTRIBUTING.md
  • c452b48 util: Restructure to use one class per subcommand
  • cbc70c9 nuttx: more document comments
  • 2589ea3 nuttx: add TCP_MAXSEG definitions
  • 6be50c1 nuttx: add pipe2 definitions
  • 4500344 nuttx: add poll definitions
  • 60c1cc9 nuttx: add fcntl definitions
  • 3b2c2d4 nuttx: add eventfd definitions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [libc](https://github.com/rust-lang/libc) from 0.2.186 to 0.2.187.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.187/CHANGELOG.md)
- [Commits](rust-lang/libc@0.2.186...0.2.187)

---
updated-dependencies:
- dependency-name: libc
  dependency-version: 0.2.187
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the kind/dependencies For PRs that update dependencies or related components label Jul 21, 2026
Copilot AI review requested due to automatic review settings July 21, 2026 03:04
@dependabot dependabot Bot added the kind/dependencies For PRs that update dependencies or related components label Jul 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

@dependabot-pr-auto-approver dependabot-pr-auto-approver Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by dependabot auto-approve workflow

@dependabot-pr-auto-approver
dependabot-pr-auto-approver Bot merged commit 280afdd into main Jul 21, 2026
44 checks passed
@dependabot-pr-auto-approver
dependabot-pr-auto-approver Bot deleted the dependabot/cargo/libc-0.2.187 branch July 21, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/dependencies For PRs that update dependencies or related components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant