2 releases
0.1.2 | Feb 1, 2019 |
---|---|
0.1.0 | Feb 1, 2019 |
#58 in #gc
30KB
975 lines
boehm-rs
Rust interface to BoehmGC
Examples
use boehm_rs::global_alloc::GcAlloc;
use boehm_rs::{gc_init,gc_enable};
#[global_allocator]
static A: GcAlloc = GcAlloc;
fn main() {
gc_enable();
gc_init();
let string = String::from("Hello,world!");
println!("{}",string);
}
Dependencies
~0–3MB
~51K SLoC