File: build.rs

package info (click to toggle)
rust-cargo-test-support 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 384 kB
  • sloc: makefile: 4
file content (10 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
#![allow(clippy::disallowed_methods)]

fn main() {
    println!("cargo:rustc-check-cfg=cfg(emulate_second_only_system)");
    println!(
        "cargo:rustc-env=NATIVE_ARCH={}",
        std::env::var("TARGET").unwrap()
    );
    println!("cargo:rerun-if-changed=build.rs");
}