File: build.rs

package info (click to toggle)
bibiman 0.19.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 788 kB
  • sloc: sh: 201; makefile: 22
file content (7 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
// Make target-triple used for build accessable in binary
fn main() {
    println!(
        "cargo:rustc-env=TARGET={}",
        std::env::var("TARGET").unwrap()
    );
}