Lines Matching full:rustc
62 Some(status) if status.success() => println!("cargo:rustc-cfg=backtrace"), in main()
67 let rustc = match rustc_minor_version() { in main() localVariable
68 Some(rustc) => rustc, in main()
72 if rustc < 51 { in main()
73 println!("cargo:rustc-cfg=anyhow_no_ptr_addr_of"); in main()
76 if rustc < 52 { in main()
77 println!("cargo:rustc-cfg=anyhow_no_fmt_arguments_as_str"); in main()
82 let rustc = env::var_os("RUSTC")?; in compile_probe() localVariable
87 // Make sure to pick up Cargo rustc configuration. in compile_probe()
90 // The wrapper's first argument is supposed to be the path to rustc. in compile_probe()
91 cmd.arg(rustc); in compile_probe()
94 Command::new(rustc) in compile_probe()
123 let rustc = env::var_os("RUSTC")?; in rustc_minor_version() localVariable
124 let output = Command::new(rustc).arg("--version").output().ok()?; in rustc_minor_version()
127 if pieces.next() != Some("rustc 1") { in rustc_minor_version()