summaryrefslogtreecommitdiff
path: root/rand/rand_pcg/build.rs
blob: cb3ae20d2c6c3bdf40cf0d6ef3ef8c214fad4555 (plain)
1
2
3
4
5
6
7
8
extern crate rustc_version;
use rustc_version::{version, Version};

fn main() {
    if version().unwrap() >= Version::parse("1.26.0").unwrap() {
        println!("cargo:rustc-cfg=rust_1_26");
    }
}