mirtal 0.1.0

Native, explicit-stream Rust API for Apple Metal
1
2
3
4
5
6
7
8
9
use std::{env, error::Error, path::PathBuf};

fn main() -> Result<(), Box<dyn Error>> {
    let include = PathBuf::from(
        env::var_os("DEP_MIRTAL_INCLUDE").ok_or("mirtal-sys did not export its include path")?,
    );
    println!("cargo:include={}", include.display());
    Ok(())
}