Lines Matching full:rustc
53 println!("cargo:rustc-cfg=std_backtrace"); in main()
54 println!("cargo:rustc-cfg=error_generic_member_access"); in main()
62 let rustc = match rustc_minor_version() { in main() localVariable
63 Some(rustc) => rustc, in main()
67 if rustc < 51 { in main()
70 println!("cargo:rustc-cfg=anyhow_no_ptr_addr_of"); in main()
73 if rustc < 52 { in main()
76 println!("cargo:rustc-cfg=anyhow_no_fmt_arguments_as_str"); in main()
80 println!("cargo:rustc-cfg=anyhow_no_unsafe_op_in_unsafe_fn_lint"); in main()
83 if !error_generic_member_access && cfg!(feature = "std") && rustc >= 65 { in main()
86 println!("cargo:rustc-cfg=std_backtrace"); in main()
92 // We are running inside rustc bootstrap. This is a highly non-standard in compile_probe()
102 let rustc = cargo_env_var("RUSTC"); in compile_probe() localVariable
106 // Make sure to pick up Cargo rustc configuration. in compile_probe()
109 // The wrapper's first argument is supposed to be the path to rustc. in compile_probe()
110 cmd.arg(rustc); in compile_probe()
113 Command::new(rustc) in compile_probe()
149 let rustc = cargo_env_var("RUSTC"); in rustc_minor_version() localVariable
150 let output = Command::new(rustc).arg("--version").output().ok()?; in rustc_minor_version()
153 if pieces.next() != Some("rustc 1") { in rustc_minor_version()