We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 855c683 commit deb3fddCopy full SHA for deb3fdd
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