Files
bdwgc-rust/bdwgc-alloc-sys
2026-09-25 20:54:55 -07:00
..
2026-09-26 03:43:48 +00:00
2026-09-26 03:43:48 +00:00
2026-09-26 03:43:48 +00:00
Fix
2026-09-25 20:54:55 -07:00
2026-09-26 03:43:48 +00:00
2026-09-26 03:43:48 +00:00

bdwgc-alloc-sys

GitHub Action License

Rust bindings to the C API of bdwgc, the conservative garbage collector.

This crate builds bdwgc from its vendored source and links it statically. The bindings are generated from its headers at build time by bindgen, which requires libclang.

See the bdwgc-alloc crate for a GlobalAlloc implementation on top of these bindings.

Install

cargo add bdwgc-alloc-sys

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

cargo add bdwgc-alloc-sys --no-default-features --features cmake

License

MIT