forked from mirrors/gecko-dev
I want to start updating gecko to rand 0.7, and it'd be silly having three rand versions in tree. This uses my git repo while I wait for upstream to merge my PR (https://github.com/mheese/rust-pkcs11/pull/16). That PR is the only difference from upstream. Differential Revision: https://phabricator.services.mozilla.com/D55351 --HG-- rename : third_party/rust/num-bigint/src/tests/bigint.rs => third_party/rust/num-bigint/tests/bigint.rs rename : third_party/rust/num-bigint/src/tests/biguint.rs => third_party/rust/num-bigint/tests/biguint.rs extra : moz-landing-system : lando
14 lines
312 B
Rust
14 lines
312 B
Rust
extern crate autocfg;
|
|
|
|
use std::env;
|
|
|
|
fn main() {
|
|
let ac = autocfg::new();
|
|
if ac.probe_type("i128") {
|
|
println!("cargo:rustc-cfg=has_i128");
|
|
} else if env::var_os("CARGO_FEATURE_I128").is_some() {
|
|
panic!("i128 support was not detected!");
|
|
}
|
|
|
|
autocfg::rerun_path("build.rs");
|
|
}
|