mirror of
https://github.com/bdwgc/bdwgc-rust.git
synced 2026-10-27 02:03:18 -06:00
1a390300211806a2aa567618cbd22a5786c0436e
Bumps [rust-lang/crates-io-auth-action](https://github.com/rust-lang/crates-io-auth-action) from 1.0.5 to 1.0.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/crates-io-auth-action/releases">rust-lang/crates-io-auth-action's releases</a>.</em></p> <blockquote> <h2>v1.0.6</h2> <h2>What's Changed</h2> <p>update dependencies</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/rust-lang/crates-io-auth-action/compare/v1.0.5...v1.0.6">https://github.com/rust-lang/crates-io-auth-action/compare/v1.0.5...v1.0.6</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/3268eb413133e2960fa4ae0e963ca76380c54cd9"><code>3268eb4</code></a> Merge pull request <a href="https://redirect.github.com/rust-lang/crates-io-auth-action/issues/278">#278</a> from marcoienibot/chore/update-dependencies-2026-10</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/e901356a3cd2b980059ee9644711d227e8862d1f"><code>e901356</code></a> chore(deps): update dependencies and GitHub Actions</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/9c067fc5d5c254b33978fed918cb50c032549d0e"><code>9c067fc</code></a> Merge pull request <a href="https://redirect.github.com/rust-lang/crates-io-auth-action/issues/277">#277</a> from rust-lang/renovate/msw-3.x</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/9b550056ac91ae0f72334751818b46c567171f2b"><code>9b55005</code></a> chore(deps): update dependency msw to v3</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/4920f0933d6c80323414a03df1731d6678d52a1b"><code>4920f09</code></a> Merge pull request <a href="https://redirect.github.com/rust-lang/crates-io-auth-action/issues/276">#276</a> from rust-lang/renovate/major-github-actions</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/04dcccbba582c5bbe3fc8e2bf779f7ba2d75efac"><code>04dcccb</code></a> chore(deps): update github actions</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/82864bf380abd3e242c564a5ba58dd29d6265b00"><code>82864bf</code></a> Merge pull request <a href="https://redirect.github.com/rust-lang/crates-io-auth-action/issues/274">#274</a> from rust-lang/renovate/major-vitest-monorepo</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/2bd8e07944ebe5a067087231d8410f9631aedc02"><code>2bd8e07</code></a> chore(deps): update dependency vitest to v5</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/f14f407dad32919804d8e0550a5e471a82249cee"><code>f14f407</code></a> Merge pull request <a href="https://redirect.github.com/rust-lang/crates-io-auth-action/issues/271">#271</a> from rust-lang/renovate/github-actions</li> <li><a href="https://github.com/rust-lang/crates-io-auth-action/commit/0205d6ca26140976a4c250a7707cd2231f83bcca"><code>0205d6c</code></a> chore(deps): update github actions</li> <li>Additional commits viewable in <a href="https://github.com/rust-lang/crates-io-auth-action/compare/c6f97d42243bad5fab37ca0427f495c86d5b1a18...3268eb413133e2960fa4ae0e963ca76380c54cd9">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> Co-authored-by: Yota Toyama <raviqqe@gmail.com>
bdwgc-rust
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
Languages
Rust
100%