#![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];
}
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Use malloc() and free() for memory management in Rust. Do not use in critical systems since there are no null checks on malloc() returns.
olback/mallocator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Use malloc() and free() for memory management in Rust. Do not use in critical systems since there are no null checks on malloc() returns.
Resources
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Packages 0
No packages published