Skip to content

Bump libc from 0.2.181 to 0.2.186 in /native - #169

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/native/libc-0.2.186
Closed

Bump libc from 0.2.181 to 0.2.186 in /native#169
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/native/libc-0.2.186

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 28, 2026

Copy link
Copy Markdown

Bumps libc from 0.2.181 to 0.2.186.

Release notes

Sourced from libc's releases.

0.2.186

Added

  • Apple: Add KEVENT_FLAG_* constants (#5070)
  • Linux: Add PR_SET_MEMORY_MERGE and PR_GET_MEMORY_MERGE (#5060)

Changed

  • CI: Migrate FreeBSD CI from Cirrus CI to GitHub Actions (#5058)

0.2.185

Added

  • EspIDF: Add espidf_picolibc cfg for picolibc O_* flag values (#5035)
  • Hexagon: add missing constants and fix types for linux-musl (#5042)
  • Redox: Add semaphore functions (#5051)
  • Windows: Add sprintf, snprintf, and the scanf family (#5024)

Fixed

  • Hexagon: Decouple time64 types from musl symbol redirects (#5040)
  • Horizon: Change POLL constants from c_short to c_int (#5045)

0.2.184

MSRV

This release increases the MSRV of libc to 1.65. With this update, you can now always use the core::ffi::c_* types with libc definitions, since libc has been changed to reexport from core rather than redefining them. (This usually worked before but had edge cases.) (#4972)

Added

  • BSD: Add IP_MINTTL to bsd (#5026)
  • Cygwin: Add TIOCM_DSR (#5031)
  • FreeBSD: Added xfile structe and file descriptor types (#5002)
  • Linux: Add CAN netlink bindings (#5011)
  • Linux: Add struct ethhdr (#4239)
  • Linux: Add struct ifinfomsg (#5012)
  • Linux: Define max_align_t for riscv64 (#5029)
  • NetBSD: Add missing CLOCK_ constants (#5020)
  • NuttX: Add _SC_HOST_NAME_MAX (#5004)
  • VxWorks: Add flock and F_*LCK constants (#4043)
  • WASI: Add all _SC_* sysconf constants (#5023)

Deprecated

The remaining fixed-width integer aliases, __uint128_t, __uint128, __int128_t, and __int128, have been deprecated. Use i128 and u128 instead. (#4343)

... (truncated)

Changelog

Sourced from libc's changelog.

0.2.186 - 2026-04-24

Added

  • Apple: Add KEVENT_FLAG_* constants (#5070)
  • Linux: Add PR_SET_MEMORY_MERGE and PR_GET_MEMORY_MERGE (#5060)

Changed

  • CI: Migrate FreeBSD CI from Cirrus CI to GitHub Actions (#5058)

0.2.185 - 2026-04-13

Added

  • EspIDF: Add espidf_picolibc cfg for picolibc O_* flag values (#5035)
  • Hexagon: add missing constants and fix types for linux-musl (#5042)
  • Redox: Add semaphore functions (#5051)
  • Windows: Add sprintf, snprintf, and the scanf family (#5024)

Fixed

  • Hexagon: Decouple time64 types from musl symbol redirects (#5040)
  • Horizon: Change POLL constants from c_short to c_int (#5045)

0.2.184 - 2026-04-01

MSRV

This release increases the MSRV of libc to 1.65. With this update, you can now always use the core::ffi::c_* types with libc definitions, since libc has been changed to reexport from core rather than redefining them. (This usually worked before but had edge cases.) (#4972)

Added

  • BSD: Add IP_MINTTL to bsd (#5026)
  • Cygwin: Add TIOCM_DSR (#5031)
  • FreeBSD: Added xfile structe and file descriptor types (#5002)
  • Linux: Add CAN netlink bindings (#5011)
  • Linux: Add struct ethhdr (#4239)
  • Linux: Add struct ifinfomsg (#5012)
  • Linux: Define max_align_t for riscv64 (#5029)
  • NetBSD: Add missing CLOCK_ constants (#5020)
  • NuttX: Add _SC_HOST_NAME_MAX (#5004)
  • VxWorks: Add flock and F_*LCK constants (#4043)
  • WASI: Add all _SC_* sysconf constants (#5023)

Deprecated

... (truncated)

Commits
  • 42620ff [0.2] libc: Release 0.2.186
  • 9db2eaa apple: add KEVENT_FLAG_* constants
  • 3840939 Add PR_SET_MEMORY_MERGE and PR_GET_MEMORY_MERGE for linux
  • f697deb chore: migrate from Cirrus CI to GHA
  • 71d5bfc libc: Release 0.2.185
  • 1027d1c Revert "ci: Pin nightly to 2026-04-01"
  • 0e9c6e5 redox: Add semaphore functions
  • 24ef457 feat: add back support for gnu windows x86 in ci
  • aa75caf horizon: Change POLL constants from c_short to c_int
  • b7eda5a hexagon: add missing constants and fix types for linux-musl
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 28, 2026
schenksj added a commit that referenced this pull request Jun 19, 2026
* chore(deps): consolidate Dependabot updates

Triage and apply the open Dependabot dependency PRs in a single change.

Maven (pom.xml):
- jackson-databind 2.15.2 -> 2.22.0 (#178)
- maven-surefire-plugin 3.1.2 -> 3.5.6 (#177)
- exec-maven-plugin 3.1.0 -> 3.6.3 (#175)
- test-dependencies group (#173): junit 5.10.0 -> 6.0.3,
  s3 2.21.29 -> 2.43.0, azure-storage-blob 12.25.0 -> 12.33.3,
  azure-identity 1.12.0 -> 1.18.2, azure-core 1.48.0 -> 1.57.1,
  testcontainers 1.19.0 -> 2.0.5, google-cloud-storage 2.29.1 -> 2.67.0,
  google-cloud-nio 0.127.12 -> 0.131.0, mockito 5.7.0 -> 5.23.0,
  iceberg 1.7.1 -> 1.10.1, and maven-{compiler,resources,jar,source,
  javadoc,gpg}-plugin + central-publishing-maven-plugin bumps.

Cargo (native):
- futures 0.3.31 -> 0.3.32 (#164)
- tokio 1.45 -> 1.50 (#166)
- lru 0.12 -> 0.16 (#167)
- sha2 0.10 -> 0.11 (#163)
- thiserror 1 -> 2 (#170)
- libc / moka lockfile bumps (#169, #165)

GitHub Actions:
- actions/checkout v4 -> v6 (#162)

Held back (incompatible, not applied):
- scala-library 2.13.12 -> 3.8.3 (#173 sub-update): Scala 2->3 major;
  s3mock_2.13 requires Scala 2.13. Kept at 2.13.12.
- arrow-array / arrow-buffer 57 -> 58 (#168, #172): arrow, arrow-schema
  and parquet remain at 57 (pinned transitively by delta-kernel 0.19 and
  the quickwit fork). Mixing arrow 57/58 fails to compile.
- object_store 0.12 -> 0.13 (#171): breaking API changes and coupling
  with delta-kernel 0.19 / quickwit which pin 0.12.

Verified: `cargo check` clean; `mvn test-compile` clean;
PythonParityTest + BooleanFieldTest pass under junit 6 / surefire 3.5.6.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(deps): hold junit at 5.12.2 — 6.0.3 requires Java 17

JUnit 6.0.x raised its baseline to Java 17 (junit-jupiter-api class files
are bytecode 61). This project targets Java 11, and CI compiles with
JDK 11, so the test sources failed with "class file has wrong version
61.0, should be 55.0". It only passed locally because the dev machine
runs JDK 19.

Bump to 5.12.2 instead — the latest Java 8/11-compatible 5.x line (still
an upgrade from the original 5.10.0). Verified compiling and running
tests under JDK 11.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test(txlog): serialize global-cache tests to fix parallel race

CI surfaced flaky failures in txlog::cache tests (e.g.
test_clear_all_caches_removes_all_entries, test_global_cache_stats).
Root cause is test cross-contamination, not a production bug: several
tests exercise the process-wide cache registry / global manifest cache,
and `clear_all_caches()` wipes that shared state. Under cargo's parallel
runner one test's clear races with another's get/put/stats.

Reproduced deterministically on the unmodified code at
`--test-threads=16`: 13/40 runs failed across test_global_cache_stats,
test_get_or_create_cache_reuse, test_global_manifest_cache and the
clear_all_caches tests. Serializing them on a shared mutex: 0/40.

The moka 0.12.13 -> 0.12.15 patch in this PR only shifted scheduling
enough to make CI hit a pre-existing latent race; production code is
sound (get_or_create_cache uses double-checked locking, the cache is
best-effort with TTL/LRU eviction so a flush racing a read is at worst a
miss, and the sole production caller is an explicit invalidate-all JNI
API).

Add a poison-tolerant mutex (lock_global_state) and guard the six tests
that touch global cache state. Local-instance tests still run in
parallel.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@schenksj

schenksj commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Consolidated into #184

@schenksj schenksj closed this Jul 5, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 5, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/native/libc-0.2.186 branch July 5, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant