Repository navigation
Commit b4ffdd2
authored
chore(deps): bump libc from 0.2.189 to 0.2.190 (#342)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.189 to 0.2.190.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/libc/releases">libc's
releases</a>.</em></p>
<blockquote>
<h2>0.2.190</h2>
<p>There is now a single config for enabling 64-bit <code>time_t</code>:
<code>libc_unstable_time64</code>. This can be set
unconditionally; it opts in to 64-bit <code>time_t</code> on the
following platforms that use 32-bit by
default:</p>
<ul>
<li>32-bit Linux-GNU</li>
<li>32-bit Linux-uClibc</li>
<li>32-bit Linux-musl. Note that setting this flag also enables some
other changes that happend in
musl v1.2.</li>
<li>32-bit Windows-GNU</li>
<li>ESP-IDF (all targets with this environment are 32-bit)</li>
</ul>
<p>Most other 32-bit platforms are either already using 64-bit
<code>time_t</code>, or are considered legacy
and will not be gaining support from their upstream maintainers.</p>
<p>You can enable this using <code>RUSTFLAGS</code>:</p>
<pre lang="sh"><code>RUSTFLAGS='--cfg=libc_unstable_time64' cargo ...
</code></pre>
<p>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
<code>libc_time64</code>. Until then, please test it
out and report any bugs you find!</p>
<h3>Support</h3>
<ul>
<li>Add initial support for HelenOS (<a
href="https://redirect.github.com/rust-lang/libc/pull/4355">#4355</a>)</li>
</ul>
<h3>Added</h3>
<p>We are slowly filling out the <code>Default</code> implementations,
to reduce the need for <code>mem::zeroed()</code> in user code:</p>
<ul>
<li>Unix: Implement <code>Default</code> for a number of structs,
especially on Apple platforms (<a
href="https://redirect.github.com/rust-lang/libc/pull/5576">#5576</a>)</li>
<li>Linux, NetBSD: Give <code>statvfs</code> a <code>Default</code> impl
(<a
href="https://redirect.github.com/rust-lang/libc/pull/5583">#5583</a>)</li>
<li>Linux: Add <code>Default</code> to a <code>linux/can.rs</code>
structs (<a
href="https://redirect.github.com/rust-lang/libc/pull/5257">#5257</a>)</li>
</ul>
<p>Other additions:</p>
<ul>
<li>Expose the <code>libc_unstable_time64</code> cfg (<a
href="https://redirect.github.com/rust-lang/libc/pull/5411">#5411</a>)</li>
<li>Android, Glibc: Add <code>pthread_gettid_np</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/5359">#5359</a>)</li>
<li>Android: Add <code>RTLD_NEXT</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/5323">#5323</a>)</li>
<li>Android: Add reuseport BPF socket options (<a
href="https://redirect.github.com/rust-lang/libc/pull/5366">#5366</a>)</li>
<li>Apple: Add TCP header flags, options and SACK limits (<a
href="https://redirect.github.com/rust-lang/libc/pull/5358">#5358</a>)</li>
<li>Apple: Add <code>NET_RT_DUMP2</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/5442">#5442</a>)</li>
<li>Apple: Add <code>posix_spawn_file_actions_add(f)chdir(_np)</code>
(<a
href="https://redirect.github.com/rust-lang/libc/pull/5558">#5558</a>)</li>
<li>BSD: Add <code>BPF_WORDALIGN</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/5320">#5320</a>)</li>
<li>BSD: Add <code>lchmod</code> and <code>lchflags</code> where
supported (<a
href="https://redirect.github.com/rust-lang/libc/pull/5400">#5400</a>)</li>
<li>BSD: Add <code>minherit</code> and related constants (<a
href="https://redirect.github.com/rust-lang/libc/pull/4849">#4849</a>)</li>
<li>Docs: Add more links to public headers and manual pages (<a
href="https://redirect.github.com/rust-lang/libc/pull/5407">#5407</a>),
(<a
href="https://redirect.github.com/rust-lang/libc/pull/5485">#5485</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/libc/blob/0.2.190/CHANGELOG.md">libc's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/rust-lang/libc/compare/0.2.189...0.2.190">0.2.190</a>
- 2026-10-02</h2>
<p>There is now a single config for enabling 64-bit <code>time_t</code>:
<code>libc_unstable_time64</code>. This can be set
unconditionally; it opts in to 64-bit <code>time_t</code> on the
following platforms that use 32-bit by
default:</p>
<ul>
<li>32-bit Linux-GNU</li>
<li>32-bit Linux-uClibc</li>
<li>32-bit Linux-musl. Note that setting this flag also enables some
other changes that happend in
musl v1.2.</li>
<li>32-bit Windows-GNU</li>
<li>ESP-IDF (all targets with this environment are 32-bit)</li>
</ul>
<p>Most other 32-bit platforms are either already using 64-bit
<code>time_t</code>, or are considered legacy
and will not be gaining support from their upstream maintainers.</p>
<p>You can enable this using <code>RUSTFLAGS</code>:</p>
<pre lang="sh"><code>RUSTFLAGS='--cfg=libc_unstable_time64' cargo ...
</code></pre>
<p>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
<code>libc_time64</code>. Until then, please test it
out and report any bugs you find!</p>
<h3>Support</h3>
<ul>
<li>Add initial support for HelenOS (<a
href="https://redirect.github.com/rust-lang/libc/pull/4355">#4355</a>)</li>
</ul>
<h3>Added</h3>
<p>We are slowly filling out the <code>Default</code> implementations,
to reduce the need for <code>mem::zeroed()</code> in user code:</p>
<ul>
<li>Unix: Implement <code>Default</code> for a number of structs,
especially on Apple platforms (<a
href="https://redirect.github.com/rust-lang/libc/pull/5576">#5576</a>)</li>
<li>Linux, NetBSD: Give <code>statvfs</code> a <code>Default</code> impl
(<a
href="https://redirect.github.com/rust-lang/libc/pull/5583">#5583</a>)</li>
<li>Linux: Add <code>Default</code> to a <code>linux/can.rs</code>
structs (<a
href="https://redirect.github.com/rust-lang/libc/pull/5257">#5257</a>)</li>
</ul>
<p>Other additions:</p>
<ul>
<li>Expose the <code>libc_unstable_time64</code> cfg (<a
href="https://redirect.github.com/rust-lang/libc/pull/5411">#5411</a>)</li>
<li>Android, Glibc: Add <code>pthread_gettid_np</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/5359">#5359</a>)</li>
<li>Android: Add <code>RTLD_NEXT</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/5323">#5323</a>)</li>
<li>Android: Add reuseport BPF socket options (<a
href="https://redirect.github.com/rust-lang/libc/pull/5366">#5366</a>)</li>
<li>Apple: Add TCP header flags, options and SACK limits (<a
href="https://redirect.github.com/rust-lang/libc/pull/5358">#5358</a>)</li>
<li>Apple: Add <code>NET_RT_DUMP2</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/5442">#5442</a>)</li>
<li>Apple: Add <code>posix_spawn_file_actions_add(f)chdir(_np)</code>
(<a
href="https://redirect.github.com/rust-lang/libc/pull/5558">#5558</a>)</li>
<li>BSD: Add <code>BPF_WORDALIGN</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/5320">#5320</a>)</li>
<li>BSD: Add <code>lchmod</code> and <code>lchflags</code> where
supported (<a
href="https://redirect.github.com/rust-lang/libc/pull/5400">#5400</a>)</li>
<li>BSD: Add <code>minherit</code> and related constants (<a
href="https://redirect.github.com/rust-lang/libc/pull/4849">#4849</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rust-lang/libc/commit/7b0ab5528dc7f361f3a0b4c06c2cad9971617f75"><code>7b0ab55</code></a>
ci: Rename <code>publish_0.2.yml</code> to
<code>release.yaml</code></li>
<li><a
href="https://github.com/rust-lang/libc/commit/ac85dde5fc269ab4a8cd935d3f76adf85372677c"><code>ac85dde</code></a>
ci: Sync release permissions with <code>main</code></li>
<li><a
href="https://github.com/rust-lang/libc/commit/8f8cd2032060e1477c08077cd5f89215384723e2"><code>8f8cd20</code></a>
libc: Release 0.2.190</li>
<li><a
href="https://github.com/rust-lang/libc/commit/052c6e6a0186eeecf22c743d57c65a9963571241"><code>052c6e6</code></a>
changelog: Fix an incorrect commit link</li>
<li><a
href="https://github.com/rust-lang/libc/commit/ea19fd7fba435c629ed247de7138d5cdb1dea309"><code>ea19fd7</code></a>
test: Remove explicit <code>libc</code> version</li>
<li><a
href="https://github.com/rust-lang/libc/commit/6dbf3a29a0a972087b684bc6d6cbf20f92143b66"><code>6dbf3a2</code></a>
dragonfly: Move <code>INHERIT_ZERO</code> to the freebsd module</li>
<li><a
href="https://github.com/rust-lang/libc/commit/8a64766c8514865dea77cfc3216f5a9dc38c6728"><code>8a64766</code></a>
apple: add <code>posix_spawn_file_actions_add(f)chdir(_np)</code></li>
<li><a
href="https://github.com/rust-lang/libc/commit/28de5147ff5665b835472f00ead49da71084a593"><code>28de514</code></a>
linux, netbsd: Give statvfs a <code>Default</code> impl</li>
<li><a
href="https://github.com/rust-lang/libc/commit/a58a95f01d0561e75261052f5d8b3ad188f1ae4e"><code>a58a95f</code></a>
cygwin: Change <code>POSIX_SPAWN_*</code> flags to
<code>c_short</code></li>
<li><a
href="https://github.com/rust-lang/libc/commit/d175264e718db4f216df7aad5f1291fd0ec34139"><code>d175264</code></a>
apple: <code>timeval32</code> is exhaustive</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/libc/compare/0.2.189...0.2.190">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 3bafe01 commit b4ffdd2
1 file changed
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments