stack-allocator 0.1.1

A stack-based memory allocator with optional fallback to a global/secondary allocator.
Documentation
1
2
3
4
5
6
7
8
9
10
use rustc_version::{version_meta, Channel};

fn main() {
    if let Ok(meta) = version_meta() {
        if meta.channel == Channel::Nightly {
            println!("cargo:rustc-cfg=nightly");
        }
    }
    println!("cargo::rustc-check-cfg=cfg(nightly)");
}