An open API service indexing awesome lists of open source software.

https://github.com/playxe/boehm-rs

Rust interface to BoehmGC providing global allocator implementation that uses this GC
https://github.com/playxe/boehm-rs

Last synced: 8 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# boehm-rs

Rust interface to BoehmGC

# Examples

```rust

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