core-error 0.0.0

std::error::Error for libcore
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
extern crate version_check;

fn main() {
    let (version, _channel, _date) = version_check::triple().expect("Rustc to give us its version");

    for i in 0..65536 {
        if version.at_least(&format!("1.{}.0", i)) {
            println!("cargo:rustc-cfg=rustc_1_{}_0", i)
        } else {
            break;
        }
    }
}