Skip to content

chore(deps): bump libc from 0.2.189 to 0.2.190 - #1919

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/libc-0.2.190
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/libc-0.2.190

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 12, 2026

Copy link
Copy Markdown
Contributor

Bumps libc from 0.2.189 to 0.2.190.

Release notes

Sourced from libc's releases.

0.2.190

There is now a single config for enabling 64-bit time_t: libc_unstable_time64. This can be set unconditionally; it opts in to 64-bit time_t on the following platforms that use 32-bit by default:

  • 32-bit Linux-GNU
  • 32-bit Linux-uClibc
  • 32-bit Linux-musl. Note that setting this flag also enables some other changes that happend in musl v1.2.
  • 32-bit Windows-GNU
  • ESP-IDF (all targets with this environment are 32-bit)

Most other 32-bit platforms are either already using 64-bit time_t, or are considered legacy and will not be gaining support from their upstream maintainers.

You can enable this using RUSTFLAGS:

RUSTFLAGS='--cfg=libc_unstable_time64' cargo ...

Note that there may still be some changes to features gated by this config option, hence "unstable" in its name. In the near future we will rename it to just libc_time64. Until then, please test it out and report any bugs you find!

Support

  • Add initial support for HelenOS (#4355)

Added

We are slowly filling out the Default implementations, to reduce the need for mem::zeroed() in user code:

  • Unix: Implement Default for a number of structs, especially on Apple platforms (#5576)
  • Linux, NetBSD: Give statvfs a Default impl (#5583)
  • Linux: Add Default to a linux/can.rs structs (#5257)

Other additions:

  • Expose the libc_unstable_time64 cfg (#5411)
  • Android, Glibc: Add pthread_gettid_np (#5359)
  • Android: Add RTLD_NEXT (#5323)
  • Android: Add reuseport BPF socket options (#5366)
  • Apple: Add TCP header flags, options and SACK limits (#5358)
  • Apple: Add NET_RT_DUMP2 (#5442)
  • Apple: Add posix_spawn_file_actions_add(f)chdir(_np) (#5558)
  • BSD: Add BPF_WORDALIGN (#5320)
  • BSD: Add lchmod and lchflags where supported (#5400)
  • BSD: Add minherit and related constants (#4849)
  • Docs: Add more links to public headers and manual pages (#5407), (#5485)

... (truncated)

Changelog

Sourced from libc's changelog.

0.2.190 - 2026-10-02

There is now a single config for enabling 64-bit time_t: libc_unstable_time64. This can be set unconditionally; it opts in to 64-bit time_t on the following platforms that use 32-bit by default:

  • 32-bit Linux-GNU
  • 32-bit Linux-uClibc
  • 32-bit Linux-musl. Note that setting this flag also enables some other changes that happend in musl v1.2.
  • 32-bit Windows-GNU
  • ESP-IDF (all targets with this environment are 32-bit)

Most other 32-bit platforms are either already using 64-bit time_t, or are considered legacy and will not be gaining support from their upstream maintainers.

You can enable this using RUSTFLAGS:

RUSTFLAGS='--cfg=libc_unstable_time64' cargo ...

Note that there may still be some changes to features gated by this config option, hence "unstable" in its name. In the near future we will rename it to just libc_time64. Until then, please test it out and report any bugs you find!

Support

  • Add initial support for HelenOS (#4355)

Added

We are slowly filling out the Default implementations, to reduce the need for mem::zeroed() in user code:

  • Unix: Implement Default for a number of structs, especially on Apple platforms (#5576)
  • Linux, NetBSD: Give statvfs a Default impl (#5583)
  • Linux: Add Default to a linux/can.rs structs (#5257)

Other additions:

  • Expose the libc_unstable_time64 cfg (#5411)
  • Android, Glibc: Add pthread_gettid_np (#5359)
  • Android: Add RTLD_NEXT (#5323)
  • Android: Add reuseport BPF socket options (#5366)
  • Apple: Add TCP header flags, options and SACK limits (#5358)
  • Apple: Add NET_RT_DUMP2 (#5442)
  • Apple: Add posix_spawn_file_actions_add(f)chdir(_np) (#5558)
  • BSD: Add BPF_WORDALIGN (#5320)
  • BSD: Add lchmod and lchflags where supported (#5400)
  • BSD: Add minherit and related constants (#4849)

... (truncated)

Commits
  • 7b0ab55 ci: Rename publish_0.2.yml to release.yaml
  • ac85dde ci: Sync release permissions with main
  • 8f8cd20 libc: Release 0.2.190
  • 052c6e6 changelog: Fix an incorrect commit link
  • ea19fd7 test: Remove explicit libc version
  • 6dbf3a2 dragonfly: Move INHERIT_ZERO to the freebsd module
  • 8a64766 apple: add posix_spawn_file_actions_add(f)chdir(_np)
  • 28de514 linux, netbsd: Give statvfs a Default impl
  • a58a95f cygwin: Change POSIX_SPAWN_* flags to c_short
  • d175264 apple: timeval32 is exhaustive
  • 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.189 to 0.2.190.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.190/CHANGELOG.md)
- [Commits](rust-lang/libc@0.2.189...0.2.190)

---
updated-dependencies:
- dependency-name: libc
  dependency-version: 0.2.190
  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 Oct 12, 2026
@hyperlight-gh-bot

Copy link
Copy Markdown

Benchmark Results

Measured commit: 707b1bfcf020
Baseline commit: dcb53c04a5a7

kvm / amd (Linux) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

encode_control decode_vec_bytes_copy
byte_chunks 806.87 ns (➖ 1.06x slower)
vec_bytes 584.00 ns (➖ 1.02x faster)
373.10 µs (➖ 1.00x slower)

payload_allocation

slot_pool_segmented
262144 523.84 ns (➖ 1.00x slower)
65536 142.24 ns (➖ 1.00x slower)

sandboxes

create_initialized_and_drop
medium 81.42 ms (➖ 1.01x slower)

slot_pool

alloc_dealloc_1500 alloc_dealloc_4096 alloc_dealloc_128
7.78 ns (➖ 1.03x faster) 7.75 ns (➖ 1.00x slower) 8.19 ns (➖ 1.06x slower)

snapshot_files

load_snapshot_unverified
small 93.45 µs (➖ 1.00x slower)

virtq_readonly

slot_pool_segmented_fragmented slot_pool_segmented
262144 7.28 µs (➖ 1.01x faster) 7.02 µs (➖ 1.03x faster)
65536 2.05 µs (➖ 1.07x slower) 1.92 µs (➖ 1.09x faster)

virtq_readwrite

slot_pool_segmented_fragmented slot_pool_segmented
65536 6.24 µs (➖ 1.04x faster) 6.20 µs (➖ 1.01x faster)
8192 1.05 µs (➖ 1.00x slower) 1.06 µs (➖ 1.01x slower)
262144 28.41 µs (➖ 1.05x slower)
kvm / intel (Linux) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

encode_control decode_vec_bytes_copy
byte_chunks 734.51 ns (➖ 1.09x slower)
vec_bytes 534.87 ns (➖ 1.05x slower)
669.50 µs (➖ 1.01x slower)

payload_allocation

slot_pool_segmented
262144 499.93 ns (➖ 1.01x faster)
65536 136.32 ns (➖ 1.00x faster)

sandboxes

create_initialized_and_drop
medium 73.03 ms (➖ 1.03x faster)

slot_pool

alloc_dealloc_1500 alloc_dealloc_4096 alloc_dealloc_128
7.15 ns (➖ 1.03x slower) 6.90 ns (➖ 1.00x faster) 6.98 ns (➖ 1.01x slower)

snapshot_files

load_snapshot_unverified
small 51.93 µs (➖ 1.15x slower)

virtq_readonly

slot_pool_segmented_fragmented slot_pool_segmented
262144 7.51 µs (➖ 1.01x faster) 7.54 µs (➖ 1.00x faster)
65536 2.11 µs (➖ 1.02x faster) 2.10 µs (➖ 1.02x faster)

virtq_readwrite

slot_pool_segmented_fragmented slot_pool_segmented
65536 7.09 µs (➖ 1.00x slower) 7.15 µs (➖ 1.01x faster)
8192 739.05 ns (➖ 1.01x faster) 727.07 ns (➖ 1.02x slower)
262144 30.06 µs (➖ 1.01x faster)
mshv3 / amd (Linux) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

encode_control decode_vec_bytes_copy
byte_chunks 999.68 ns (➖ 1.05x slower)
vec_bytes 716.71 ns (➖ 1.01x faster)
347.44 µs (➖ 1.19x slower)

payload_allocation

slot_pool_segmented
262144 725.91 ns (➖ 1.00x slower)
65536 200.13 ns (➖ 1.01x faster)

sandboxes

create_initialized_and_drop
medium 58.76 ms (➖ 1.03x faster)

slot_pool

alloc_dealloc_1500 alloc_dealloc_4096 alloc_dealloc_128
9.67 ns (➖ 1.04x faster) 9.68 ns (➖ 1.01x faster) 9.72 ns (➖ 1.00x slower)

snapshot_files

load_snapshot_unverified
small 84.15 µs (➖ 1.04x faster)

virtq_readonly

slot_pool_segmented_fragmented slot_pool_segmented
262144 10.04 µs (➖ 1.00x slower) 9.68 µs (➖ 1.01x slower)
65536 2.43 µs (➖ 1.02x faster) 2.24 µs (➖ 1.00x slower)

virtq_readwrite

slot_pool_segmented_fragmented slot_pool_segmented
65536 8.20 µs (➖ 1.21x faster) 8.44 µs (➖ 1.13x faster)
8192 1.26 µs (➖ 1.03x faster) 1.25 µs (➖ 1.01x slower)
262144 35.83 µs (➖ 1.04x faster)
mshv3 / intel (Linux) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

encode_control decode_vec_bytes_copy
byte_chunks 973.40 ns (➖ 1.05x slower)
vec_bytes 652.64 ns (➖ 1.01x faster)
1.02 ms (➖ 1.47x slower)

payload_allocation

slot_pool_segmented
262144 835.01 ns (➖ 1.34x slower)
65536 166.90 ns (➖ 1.02x slower)

sandboxes

create_initialized_and_drop
medium 74.72 ms (➖ 1.04x slower)

slot_pool

alloc_dealloc_1500 alloc_dealloc_4096 alloc_dealloc_128
8.89 ns (➖ 1.10x faster) 8.78 ns (➖ 1.00x slower) 8.77 ns (➖ 1.00x faster)

snapshot_files

load_snapshot_unverified
small 51.80 µs (➖ 1.05x faster)

virtq_readonly

slot_pool_segmented_fragmented slot_pool_segmented
262144 8.06 µs (➖ 1.02x slower) 8.04 µs (➖ 1.01x slower)
65536 2.30 µs (➖ 1.02x slower) 2.32 µs (➖ 1.03x slower)

virtq_readwrite

slot_pool_segmented_fragmented slot_pool_segmented
65536 7.72 µs (➖ 1.02x slower) 7.60 µs (➖ 1.00x slower)
8192 938.49 ns (➖ 1.01x faster) 929.73 ns (➖ 1.02x slower)
262144 40.82 µs (➖ 1.00x slower)
hyperv-ws2025 / amd (Windows) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

encode_control decode_vec_bytes_copy
byte_chunks 1.19 µs (➖ 1.14x faster)
vec_bytes 787.46 ns (➖ 1.00x slower)
2.11 ms (➖ 1.04x slower)

payload_allocation

slot_pool_segmented
262144 790.57 ns (➖ 1.05x faster)
65536 231.43 ns (➖ 1.01x faster)

sandboxes

create_initialized_and_drop
medium 78.40 ms (➖ 1.01x slower)

slot_pool

alloc_dealloc_1500 alloc_dealloc_4096 alloc_dealloc_128
10.45 ns (➖ 1.07x faster) 10.23 ns (➖ 1.01x faster) 10.56 ns (➖ 1.11x faster)

snapshot_files

load_snapshot_unverified
small 672.13 µs (➖ 1.05x slower)

virtq_readonly

slot_pool_segmented_fragmented slot_pool_segmented
262144 9.28 µs (➖ 1.04x faster) 8.96 µs (➖ 1.03x faster)
65536 2.48 µs (➖ 1.04x slower) 2.37 µs (➖ 1.02x slower)

virtq_readwrite

slot_pool_segmented_fragmented slot_pool_segmented
65536 9.73 µs (➖ 1.06x slower) 9.30 µs (➖ 1.04x faster)
8192 1.31 µs (➖ 1.06x faster) 1.31 µs (➖ 1.06x faster)
262144 41.88 µs (➖ 1.06x slower)
hyperv-ws2025 / intel (Windows) (➖ stable)

No benchmark improved or regressed.

Benchmark Results

function_call_codec

encode_control decode_vec_bytes_copy
byte_chunks 1.18 µs (➖ 1.01x faster)
vec_bytes 775.99 ns (➖ 1.07x faster)
3.10 ms (➖ 1.03x faster)

payload_allocation

slot_pool_segmented
262144 739.01 ns (➖ 1.01x faster)
65536 211.39 ns (➖ 1.00x faster)

sandboxes

create_initialized_and_drop
medium 107.85 ms (➖ 1.03x faster)

slot_pool

alloc_dealloc_1500 alloc_dealloc_4096 alloc_dealloc_128
10.35 ns (➖ 1.00x slower) 10.11 ns (➖ 1.00x faster) 10.47 ns (➖ 1.01x faster)

snapshot_files

load_snapshot_unverified
small 566.80 µs (➖ 1.20x faster)

virtq_readonly

slot_pool_segmented_fragmented slot_pool_segmented
262144 7.83 µs (➖ 1.01x slower) 7.78 µs (➖ 1.01x slower)
65536 2.35 µs (➖ 1.00x slower) 2.55 µs (➖ 1.09x slower)

virtq_readwrite

slot_pool_segmented_fragmented slot_pool_segmented
65536 8.48 µs (➖ 1.04x faster) 8.62 µs (➖ 1.05x faster)
8192 1.15 µs (➖ 1.10x faster) 1.22 µs (➖ 1.01x slower)
262144 41.59 µs (➖ 1.23x faster)

Reported by cargo ci bench-report --candidate run:38218184605 --config-file bench_report.toml.

This branch has not been deployed

No deployments
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.

0 participants