origen_metal 1.4.0

Bare metal APIs for the Origen SDK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub fn on_windows() -> bool {
    if cfg!(windows) {
        return true;
    } else {
        return false;
    }
}

pub fn on_linux() -> bool {
    if cfg!(unix) {
        return true;
    } else {
        return false;
    };
}