Lines Matching full:rustc
7 This tiny crate checks that the running or installed `rustc` meets some version
9 `--version`. The path to the compiler is determined first via the `RUSTC`
10 environment variable. If it is not set, then `rustc` is used. If that fails, no
30 extern crate version_check as rustc;
32 if rustc::is_min_version("1.13.0").unwrap_or(false) {
33 println!("cargo:rustc-cfg=question_mark_operator");
40 extern crate version_check as rustc;
42 match rustc::is_min_date("2018-12-18") {
45 None => "Couldn't determine the rustc version."
52 extern crate version_check as rustc;
54 match rustc::is_feature_flaggable() {
57 None => "Couldn't determine the rustc version."
69 detection library that works by dynamically invoking `rustc` with a