smalloca 0.1.0

A portable stack based slice allocator that supports `[no_std]`.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::path::PathBuf;

fn main() {

    let path: PathBuf = ["src", "smalloca", "smalloca.c"].iter().collect();

    let mut config = cc::Build::new();
    config.flag("-nostdlib");

    config.file(path.to_str().unwrap());
    config.compile("smalloca")
}