Lines Matching full:rustc
11 // the rustc version. in main()
45 // Check for `--features=rustc-dep-of-std`. This is used when rustix is in main()
56 // rustc flag rather than a cargo feature flag because it's experimental in main()
124 println!("cargo:rustc-link-search={}/{}", OUTLINE_PATH, profile); in link_in_librustix_outline()
125 println!("cargo:rustc-link-lib=static={}", name); in link_in_librustix_outline()
171 println!("cargo:rustc-cfg={}", feature); in use_feature()
174 /// Test whether the rustc at `var("RUSTC")` supports the given feature.
182 /// Test whether the rustc at `var("RUSTC")` can compile the given code.
187 let rustc = var("RUSTC").unwrap(); in can_compile() localVariable
192 // The wrapper's first argument is supposed to be the path to rustc. in can_compile()
193 cmd.arg(rustc); in can_compile()
196 std::process::Command::new(rustc) in can_compile()