boehm-rs

Crates.ioboehm-rs
lib.rsboehm-rs
version0.1.2
sourcesrc
created_at2019-02-01 04:47:47.185275
updated_at2019-02-01 17:40:10.991528
descriptionRust interface to BoehmGC
homepage
repositoryhttps://github.com/playXE/boehm-rs
max_upload_size
id111921
size51,162
playX (playXE)

documentation

README

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);
}
Commit count: 15

cargo fmt