| Crates.io | mallocator |
| lib.rs | mallocator |
| version | 0.1.0 |
| created_at | 2021-06-24 20:32:42.42512+00 |
| updated_at | 2021-06-24 20:32:42.42512+00 |
| description | Use malloc() and free() for memory management in Rust. |
| homepage | https://github.com/olback/mallocator |
| repository | https://github.com/olback/mallocator |
| max_upload_size | |
| id | 414612 |
| size | 2,188 |
#![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];
}