dependabot[bot] ae021364ce chore(deps): Bump swatinem/rust-cache from 2.9.2 to 2.9.3 (#594)
Bumps [swatinem/rust-cache](https://github.com/swatinem/rust-cache) from
2.9.2 to 2.9.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/swatinem/rust-cache/releases">swatinem/rust-cache's
releases</a>.</em></p>
<blockquote>
<h2>v2.9.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Issue-375: stop cleanup timestamp pruning after the first entry by
<a
href="https://github.com/TethysSvensson"><code>@​TethysSvensson</code></a>
in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/377">Swatinem/rust-cache#377</a></li>
<li>fix: log rustup toolchain list failure as info instead of warning by
<a href="https://github.com/SDAChess"><code>@​SDAChess</code></a> in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/394">Swatinem/rust-cache#394</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/TethysSvensson"><code>@​TethysSvensson</code></a>
made their first contribution in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/377">Swatinem/rust-cache#377</a></li>
<li><a href="https://github.com/SDAChess"><code>@​SDAChess</code></a>
made their first contribution in <a
href="https://redirect.github.com/Swatinem/rust-cache/pull/394">Swatinem/rust-cache#394</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Swatinem/rust-cache/compare/v2.9.2...v2.9.3">https://github.com/Swatinem/rust-cache/compare/v2.9.2...v2.9.3</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md">swatinem/rust-cache's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>2.9.3</h2>
<ul>
<li>Fix timestamp based pruning</li>
<li>Add missing <code>await</code>s</li>
<li>Do not emit warning on missing <code>rustup</code></li>
</ul>
<h2>2.9.2</h2>
<ul>
<li>Fix <code>credentials.toml</code> cleanup</li>
<li>Improvements to cleanup, preserving more valid targets</li>
<li>Improvements to <code>cargo install</code> handling</li>
<li>Correctly sort/dedupe Rust versions</li>
</ul>
<h2>2.9.1</h2>
<ul>
<li>Fix regression in hash calculation</li>
</ul>
<h2>2.9.0</h2>
<ul>
<li>Update to <code>node24</code></li>
<li>Support running from within a <code>nix</code> shell</li>
<li>Consider all installed toolchains for cache key</li>
<li>Use case-insensitive comparison to determine exact cache hit</li>
</ul>
<h2>2.8.2</h2>
<ul>
<li>Don't overwrite env for cargo-metadata call</li>
</ul>
<h2>2.8.1</h2>
<ul>
<li>Set empty <code>CARGO_ENCODED_RUSTFLAGS</code> when retrieving
metadata</li>
<li>Various dependency updates</li>
</ul>
<h2>2.8.0</h2>
<ul>
<li>Add support for <code>warpbuild</code> cache provider</li>
<li>Add new <code>cache-workspace-crates</code> feature</li>
</ul>
<h2>2.7.8</h2>
<ul>
<li>Include CPU arch in the cache key</li>
</ul>
<h2>2.7.7</h2>
<ul>
<li>Also cache <code>cargo install</code> metadata</li>
</ul>
<h2>2.7.6</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/d1527c8f67ef9af357290475d4af4b0fab8f12e0"><code>d1527c8</code></a>
2.9.3</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/f0fca6fc1c91b0c4158e7b92bdd2582341575c8e"><code>f0fca6f</code></a>
update dependencies and rebuild</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/b49b17f98024bf3c4d14fb465de5bad92750344b"><code>b49b17f</code></a>
add missing awaits</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/6a7bc3ebce750e0a16a430dd57485acfdb38b05f"><code>6a7bc3e</code></a>
Bump the dev-minor group across 1 directory with 2 updates (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/383">#383</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/4ece996238f932eddbc3099e93131a4089950e4f"><code>4ece996</code></a>
Bump the actions group across 1 directory with 6 updates (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/392">#392</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/8103aff431aa12c1132e226b21f6a655ea749803"><code>8103aff</code></a>
Bump the prd-minor group across 1 directory with 2 updates (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/389">#389</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/0e361f3528cccdd0ac5d0e0dda2bde9bcfc77a1f"><code>0e361f3</code></a>
fix: log rustup toolchain list failure as info instead of warning (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/393">#393</a>)
(<a
href="https://redirect.github.com/swatinem/rust-cache/issues/394">#394</a>)</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/f0d9c3887740aee45f6153b24b3a6b815192ec16"><code>f0d9c38</code></a>
Merge pull request <a
href="https://redirect.github.com/swatinem/rust-cache/issues/380">#380</a>
from Swatinem/dependabot/github_actions/actions-8ff58...</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/ccd9742ce3913201b7e871cc4b4f95ee3930f15b"><code>ccd9742</code></a>
Bump the actions group with 2 updates</li>
<li><a
href="https://github.com/Swatinem/rust-cache/commit/258712b0b7b1ddf8bddc9fc3b0faca682b2736c3"><code>258712b</code></a>
fix: stop cleanup timestamp pruning after the first entry (<a
href="https://redirect.github.com/swatinem/rust-cache/issues/377">#377</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/swatinem/rust-cache/compare/6323deb102c322ba6fcbdcafc7e3dddab59af2b6...d1527c8f67ef9af357290475d4af4b0fab8f12e0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=swatinem/rust-cache&package-manager=github_actions&previous-version=2.9.2&new-version=2.9.3)](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>
2026-10-23 19:18:38 +00:00
2026-09-30 06:07:39 +00:00
2024-08-11 11:33:34 +00:00
2026-09-26 03:43:48 +00:00
2026-09-30 06:07:39 +00:00
2026-09-30 06:07:39 +00:00
2026-09-30 05:25:10 +00:00
2019-04-13 20:21:25 +00:00
2026-09-30 13:44:53 +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.)

The raw bindings to the C API of bdwgc that this crate is built on are available as the bdwgc-alloc-sys crate.

Usage

use bdwgc_alloc::Allocator;
use std::thread::spawn;

#[global_allocator]
static GLOBAL_ALLOCATOR: Allocator = Allocator;

fn main() {
    unsafe { Allocator::initialize() }

    // Unreachable objects are collected automatically.
    Box::leak(Box::new([0u8; 256]));

    // Threads other than a main thread must be registered to a collector before allocation.
    spawn(|| {
        unsafe { Allocator::register_current_thread() }.unwrap();

        Box::leak(Box::new([0u8; 256]));

        unsafe { Allocator::unregister_current_thread() }
    })
    .join()
    .unwrap();
}

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.7 MiB
0 Stars 1 Watchers 1 Forks
Languages
Rust 100%