We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e62223 commit 7a8c020Copy full SHA for 7a8c020
compiler/rustc_llvm/build.rs
@@ -102,7 +102,7 @@ fn output(cmd: &mut Command) -> String {
102
103
fn main() {
104
for component in REQUIRED_COMPONENTS.iter().chain(OPTIONAL_COMPONENTS.iter()) {
105
- println!("cargo:rustc-check-cfg=values(llvm_component,\"{component}\")");
+ println!("cargo:rustc-check-cfg=cfg(llvm_component,values(\"{component}\"))");
106
}
107
108
if tracked_env_var_os("RUST_CHECK").is_some() {
0 commit comments