heim-common 0.0.5

Common stuff shared across heim project crates
Documentation
1
2
3
4
5
6
7
8
9
10
use std::env;

fn main() {
    match env::var("CARGO_CFG_TARGET_OS").as_ref().map(|x| &**x) {
        Ok("macos") => {
            println!("cargo:rustc-link-lib=framework=IOKit");
        }
        _ => {}
    }
}