Skip to main content

Crate bdwgc_alloc

Crate bdwgc_alloc 

Source
Expand description

§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

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

Structs§

Allocator
An allocator.