]> git.proxmox.com Git - rustc.git/blame - vendor/num-integer/build.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / vendor / num-integer / build.rs
CommitLineData
f035d41b
XL
1extern crate autocfg;
2
8faf50e0 3use std::env;
8faf50e0
XL
4
5fn main() {
136023e0
XL
6 let ac = autocfg::new();
7 if ac.probe_type("i128") {
8 println!("cargo:rustc-cfg=has_i128");
9 } else if env::var_os("CARGO_FEATURE_I128").is_some() {
10 panic!("i128 support was not detected!");
8faf50e0 11 }
8faf50e0 12
f035d41b 13 autocfg::rerun_path("build.rs");
8faf50e0 14}