dependabot[bot] b2aa64b7c3 chore(deps): Bump libc from 0.2.177 to 0.2.178 (#493)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.177 to 0.2.178.
<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.178</h2>
<h3>Added</h3>
<ul>
<li>BSD: Add <code>issetugid</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4744">#4744</a>)</li>
<li>Cygwin: Add missing utmp/x.h, grp.h, and stdio.h interfaces (<a
href="https://redirect.github.com/rust-lang/libc/pull/4827">#4827</a>)</li>
<li>Linux s390x musl: Add
<code>__psw_t</code>/<code>fprefset_t</code>/<code>*context_t</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4726">#4726</a>)</li>
<li>Linux, Android: Add definition for IUCLC (<a
href="https://redirect.github.com/rust-lang/libc/pull/4846">#4846</a>)</li>
<li>Linux, FreeBSD: Add <code>AT_HWCAP{3,4}</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4734">#4734</a>)</li>
<li>Linux: Add definitions from linux/can/bcm.h (<a
href="https://redirect.github.com/rust-lang/libc/pull/4683">#4683</a>)</li>
<li>Linux: Add syscalls 451-469 for m68k (<a
href="https://redirect.github.com/rust-lang/libc/pull/4850">#4850</a>)</li>
<li>Linux: PowerPC: Add 'ucontext.h' definitions (<a
href="https://redirect.github.com/rust-lang/libc/pull/4696">#4696</a>)</li>
<li>NetBSD: Define <code>eventfd</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4830">#4830</a>)</li>
<li>Newlib: Add missing constants from <code>unistd.h</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4811">#4811</a>)</li>
<li>QNX NTO: Add <code>cfmakeraw</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4704">#4704</a>)</li>
<li>QNX NTO: Add <code>cfsetspeed</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4704">#4704</a>)</li>
<li>Redox: Add <code>getresgid</code> and <code>getresuid</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4752">#4752</a>)</li>
<li>Redox: Add <code>setresgid</code> and <code>setresuid</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4752">#4752</a>)</li>
<li>VxWorks: Add definitions from <code>select.h</code>,
<code>stat.h</code>, <code>poll.h</code>, <code>ttycom.h</code>,
<code>utsname.h</code>, <code>resource.h</code>, <code>mman.h</code>,
<code>udp.h</code>, <code>in.h</code>, <code>in6.h</code>,
<code>if.h</code>, <code>fnmatch.h</code>, and
<code>sioLibCommon.h</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4781">#4781</a>)</li>
<li>VxWorks: Add missing defines/functions needed by rust stdlib (<a
href="https://redirect.github.com/rust-lang/libc/pull/4779">#4779</a>)</li>
<li>WASI: Add more definitions for libstd (<a
href="https://redirect.github.com/rust-lang/libc/pull/4747">#4747</a>)</li>
</ul>
<h3>Deprecated:</h3>
<ul>
<li>Apple: Deprecate <code>TIOCREMOTE</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4764">#4764</a>)</li>
</ul>
<h3>Fixed:</h3>
<p>Note that there were a large number of fixes on NetBSD for this
<code>libc</code> release, some of which include minor breakage.</p>
<ul>
<li>AIX: Change errno <code>EWOULDBLOCK</code> to make it an alias of
<code>EAGAIN</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4790">#4790</a>)</li>
<li>AIX: Resolve function comparison and
<code>unnecessary_transmutes</code> warnings (<a
href="https://redirect.github.com/rust-lang/libc/pull/4780">#4780</a>)</li>
<li>Apple: Correct the value of <code>SF_SETTABLE</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4764">#4764</a>)</li>
<li>DragonflyBSD: Fix the type of <code>mcontext_t.mc_fpregs</code> (<a
href="">#</a>)</li>
<li>EspIDF: Fix the duplicate definition of <code>gethostname</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4773">#4773</a>)</li>
<li>L4Re: Update available pthread API (<a
href="https://redirect.github.com/rust-lang/libc/pull/4836">#4836</a>)</li>
<li>Linux: Correct the value of <code>NFT_MSG_MAX</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4761">#4761</a>)</li>
<li>Linux: Remove incorrect <code>repr(align(8))</code> for
<code>canxl_frame</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4760">#4760</a>)</li>
<li>Make <code>eventfd</code> argument names match OS docs/headers (<a
href="https://redirect.github.com/rust-lang/libc/pull/4830">#4830</a>)</li>
<li>NetBSD: Account for upstream changes to ptrace with LWP (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Correct <code>ipc_perm</code>, split from OpenBSD as
<code>ipc.rs</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Correct a number of symbol link names (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Correct the type of <code>kinfo_vmentry.kve_path</code> (<a
href="">#</a>)</li>
<li>NetBSD: Fix <code>uucred.cr_ngroups</code> from <code>int</code> to
<code>short</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Fix the type of <code>kevent.udata</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Fix the type of <code>mcontext_t.__fpregs</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Fix the value of <code>PT_SUSPEND</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Fix the values of FNM_* constants (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Increase the size of <code>sockaddr_dl.sdl_data</code> from
12 to 24 (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Introduce <code>if_.rs</code>, fix the definition of
<code>ifreq</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Introduce <code>time.rs</code>, fix the values of
<code>CLOCK_*_CPUTIME_ID</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</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.178/CHANGELOG.md">libc's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/rust-lang/libc/compare/0.2.177...0.2.178">0.2.178</a>
- 2025-12-01</h2>
<h3>Added</h3>
<ul>
<li>BSD: Add <code>issetugid</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4744">#4744</a>)</li>
<li>Cygwin: Add missing utmp/x.h, grp.h, and stdio.h interfaces (<a
href="https://redirect.github.com/rust-lang/libc/pull/4827">#4827</a>)</li>
<li>Linux s390x musl: Add
<code>__psw_t</code>/<code>fprefset_t</code>/<code>*context_t</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4726">#4726</a>)</li>
<li>Linux, Android: Add definition for IUCLC (<a
href="https://redirect.github.com/rust-lang/libc/pull/4846">#4846</a>)</li>
<li>Linux, FreeBSD: Add <code>AT_HWCAP{3,4}</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4734">#4734</a>)</li>
<li>Linux: Add definitions from linux/can/bcm.h (<a
href="https://redirect.github.com/rust-lang/libc/pull/4683">#4683</a>)</li>
<li>Linux: Add syscalls 451-469 for m68k (<a
href="https://redirect.github.com/rust-lang/libc/pull/4850">#4850</a>)</li>
<li>Linux: PowerPC: Add 'ucontext.h' definitions (<a
href="https://redirect.github.com/rust-lang/libc/pull/4696">#4696</a>)</li>
<li>NetBSD: Define <code>eventfd</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4830">#4830</a>)</li>
<li>Newlib: Add missing constants from <code>unistd.h</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4811">#4811</a>)</li>
<li>QNX NTO: Add <code>cfmakeraw</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4704">#4704</a>)</li>
<li>QNX NTO: Add <code>cfsetspeed</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4704">#4704</a>)</li>
<li>Redox: Add <code>getresgid</code> and <code>getresuid</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4752">#4752</a>)</li>
<li>Redox: Add <code>setresgid</code> and <code>setresuid</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4752">#4752</a>)</li>
<li>VxWorks: Add definitions from <code>select.h</code>,
<code>stat.h</code>, <code>poll.h</code>, <code>ttycom.h</code>,
<code>utsname.h</code>, <code>resource.h</code>, <code>mman.h</code>,
<code>udp.h</code>, <code>in.h</code>, <code>in6.h</code>,
<code>if.h</code>, <code>fnmatch.h</code>, and
<code>sioLibCommon.h</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4781">#4781</a>)</li>
<li>VxWorks: Add missing defines/functions needed by rust stdlib (<a
href="https://redirect.github.com/rust-lang/libc/pull/4779">#4779</a>)</li>
<li>WASI: Add more definitions for libstd (<a
href="https://redirect.github.com/rust-lang/libc/pull/4747">#4747</a>)</li>
</ul>
<h3>Deprecated:</h3>
<ul>
<li>Apple: Deprecate <code>TIOCREMOTE</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4764">#4764</a>)</li>
</ul>
<h3>Fixed:</h3>
<p>Note that there were a large number of fixes on NetBSD for this
<code>libc</code> release, some of which include minor breakage.</p>
<ul>
<li>AIX: Change errno <code>EWOULDBLOCK</code> to make it an alias of
<code>EAGAIN</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4790">#4790</a>)</li>
<li>AIX: Resolve function comparison and
<code>unnecessary_transmutes</code> warnings (<a
href="https://redirect.github.com/rust-lang/libc/pull/4780">#4780</a>)</li>
<li>Apple: Correct the value of <code>SF_SETTABLE</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4764">#4764</a>)</li>
<li>DragonflyBSD: Fix the type of <code>mcontext_t.mc_fpregs</code> (<a
href="">#</a>)</li>
<li>EspIDF: Fix the duplicate definition of <code>gethostname</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4773">#4773</a>)</li>
<li>L4Re: Update available pthread API (<a
href="https://redirect.github.com/rust-lang/libc/pull/4836">#4836</a>)</li>
<li>Linux: Correct the value of <code>NFT_MSG_MAX</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4761">#4761</a>)</li>
<li>Linux: Remove incorrect <code>repr(align(8))</code> for
<code>canxl_frame</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4760">#4760</a>)</li>
<li>Make <code>eventfd</code> argument names match OS docs/headers (<a
href="https://redirect.github.com/rust-lang/libc/pull/4830">#4830</a>)</li>
<li>NetBSD: Account for upstream changes to ptrace with LWP (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Correct <code>ipc_perm</code>, split from OpenBSD as
<code>ipc.rs</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Correct a number of symbol link names (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Correct the type of <code>kinfo_vmentry.kve_path</code> (<a
href="">#</a>)</li>
<li>NetBSD: Fix <code>uucred.cr_ngroups</code> from <code>int</code> to
<code>short</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Fix the type of <code>kevent.udata</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Fix the type of <code>mcontext_t.__fpregs</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Fix the value of <code>PT_SUSPEND</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Fix the values of FNM_* constants (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Increase the size of <code>sockaddr_dl.sdl_data</code> from
12 to 24 (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</a>)</li>
<li>NetBSD: Introduce <code>if_.rs</code>, fix the definition of
<code>ifreq</code> (<a
href="https://redirect.github.com/rust-lang/libc/pull/4782">#4782</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/2b95cbe1cecd28ab03d689b34c2696d70b65ff27"><code>2b95cbe</code></a>
chore: release libc 0.2.178</li>
<li><a
href="https://github.com/rust-lang/libc/commit/bc25dfca2960fcd6bde9636e9fe9c87295765a5e"><code>bc25dfc</code></a>
NetBSD: Only skip <code>sockaddr_dl</code> on NetBSD9</li>
<li><a
href="https://github.com/rust-lang/libc/commit/887133e45ee709ff941f4d07f1069489a81aa531"><code>887133e</code></a>
add syscalls 451-469 for m68k linux</li>
<li><a
href="https://github.com/rust-lang/libc/commit/3cfeee46c2f28121771747f2e0bf9b5432a0eb29"><code>3cfeee4</code></a>
build(deps): bump actions/checkout from 5 to 6</li>
<li><a
href="https://github.com/rust-lang/libc/commit/999b4203ee3c450df6f6ef781fadd81fe51e7e78"><code>999b420</code></a>
linux, android: Add definition for IUCLC</li>
<li><a
href="https://github.com/rust-lang/libc/commit/ae6df796e2c918726ffafb7878b621ffad6a2bb7"><code>ae6df79</code></a>
Define eventfd on NetBSD</li>
<li><a
href="https://github.com/rust-lang/libc/commit/03b7438253fc4f111bf7ef3ca44902538dcce948"><code>03b7438</code></a>
Make eventfd argument names match OS docs/headers</li>
<li><a
href="https://github.com/rust-lang/libc/commit/9ba7c90662818c9bd6733899e4718816fe8b6394"><code>9ba7c90</code></a>
cygwin: Add missing utmp/x.h, grp.h, and stdio.h interfaces</li>
<li><a
href="https://github.com/rust-lang/libc/commit/5d284b0afd113ea6e92a5c7d2c1c93d1b7a60d07"><code>5d284b0</code></a>
Fix test for cygwin</li>
<li><a
href="https://github.com/rust-lang/libc/commit/7516d382af0715deb7868f88bef4b3d36412062a"><code>7516d38</code></a>
ci: Update <code>style.py</code> to work with visibility on enums</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/libc/compare/0.2.177...0.2.178">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=libc&package-manager=cargo&previous-version=0.2.177&new-version=0.2.178)](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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>
2025-12-02 19:04:23 +00:00
2024-08-11 11:33:34 +00:00
2025-09-19 15:44:19 +00:00
2024-08-11 11:33:34 +00:00
2025-10-03 01:46:47 +00:00
2025-06-28 07:17:10 +00:00
2025-09-19 15:44:19 +00:00
2025-10-03 01:53:46 +00:00
2019-04-13 20:21:25 +00:00
2025-10-03 09:36:26 +08:00

bdwgc-rust

GitHub Action Crate License

GlobalAlloc implementation for bdwgc, the conservative garbage collector.

This crate is for use cases in which developers need to integrate bdwgc into their programs written in Rust (e.g. writing a runtime library in Rust for their own programming language whose GC is done by bdwgc.)

Usage

See examples directory.

By default bdwgc is built with autotools. To build with cmake, enable the cmake feature:

cargo build --no-default-features --features cmake

License

MIT

S
Description
No description provided
Readme MIT 1.3 MiB
Languages
Rust 81.8%
Nix 15.5%
Shell 2.7%