https://github.com/raviqqe/bdwgc-alloc
impl GlobalAlloc for Boehm GC
https://github.com/raviqqe/bdwgc-alloc
gc rust
Last synced: 30 days ago
JSON representation
impl GlobalAlloc for Boehm GC
- Host: GitHub
- URL: https://github.com/raviqqe/bdwgc-alloc
- Owner: raviqqe
- License: mit
- Created: 2019-04-13T20:33:46.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-05-20T19:29:26.000Z (about 2 months ago)
- Last Synced: 2025-05-20T21:12:55.307Z (about 2 months ago)
- Topics: gc, rust
- Language: Rust
- Homepage:
- Size: 508 KB
- Stars: 25
- Watchers: 4
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bdwgc-alloc
[](https://github.com/raviqqe/bdwgc-alloc/actions)
[](https://crates.io/crates/bdwgc-alloc)
[](LICENSE)[`GlobalAlloc`](https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html) implementation for [`bdwgc`][bdwgc], the conservative garbage collector.
This crate is for use cases in which developers need to integrate [`bdwgc`][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`][bdwgc].)
## Usage
See [`examples`](examples) directory.
By default [`bdwgc`][bdwgc] is built with autotools. To build with cmake, enable the `cmake` feature:
```sh
cargo build --no-default-features --features cmake
```## License
[MIT](LICENSE)
[bdwgc]: https://github.com/ivmai/bdwgc