base-traits 0.1.0

base traits (for Rust)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// build.rs : test_help-rs

use bt_rs::rustc;


fn main() {
    println!("cargo:rustc-check-cfg=cfg(rustc_1_79_or_newer)");

    let version = rustc::compiler_version().expect("failed to execute `rustc --version`");

    if version >= (1, 79) {
        println!("cargo:rustc-cfg=rustc_1_79_or_newer");
    }
}


// ///////////////////////////// end of file //////////////////////////// //