#alloc #impl #bdwgc

bdwgc-alloc

impl GlobalAlloc for bdwgc

10 releases (4 breaking)

✓ Uses Rust 2018 edition

0.5.1 Dec 21, 2019
0.5.0 Oct 1, 2019
0.4.2 Jun 14, 2019
0.3.0 Apr 26, 2019
0.1.1 Apr 15, 2019
Download history 29/week @ 2020-02-28 20/week @ 2020-03-06 11/week @ 2020-03-13 50/week @ 2020-03-20 11/week @ 2020-03-27 1/week @ 2020-04-03 51/week @ 2020-04-10 23/week @ 2020-04-17 1/week @ 2020-04-24 1/week @ 2020-05-01 12/week @ 2020-05-22 20/week @ 2020-05-29 10/week @ 2020-06-05 11/week @ 2020-06-12

80 downloads per month

MIT license

1.5MB
33K SLoC

C 32K SLoC // 0.2% comments Automake 705 SLoC // 0.2% comments C++ 487 SLoC // 0.2% comments Rust 144 SLoC GNU Style Assembly 109 SLoC // 0.0% comments Shell 11 SLoC // 0.6% comments

bdwgc-alloc

Circle CI 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.)

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

Dependencies