mallocator 0.1.0

Use malloc() and free() for memory management in Rust.
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 1.82 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 230.39 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • olback/mallocator
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • olback

Mallocator

#![no_std]
#![feature(default_alloc_error_handler)]

use mallocator::Mallocator;

#[global_allocator]
static A: Mallocator = Mallocator;

fn my_fn_that_requires_heap() {
    let v = vec![1, 2, 3];
}