Skip to content

playXE/boehm-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

About

Rust interface to BoehmGC providing global allocator implementation that uses this GC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published