redox_pkgutils 0.1.9

Redox Packaging Utilities
Documentation
1
2
3
4
5
6
7
8
use std::env;

fn main() {
    println!(
        "cargo:rustc-env=PKG_DEFAULT_TARGET={}",
        env::var("TARGET").unwrap()
    );
}