-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-codegenArea: Code generationArea: Code generationC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
This is still in rustc_codegen_llvm
's build script:
println!("cargo:rerun-if-env-changed=CFG_PREFIX"); |
But the use site has been moved here:
rust/src/librustc_codegen_ssa/back/link.rs
Line 1427 in 7762131
let install_prefix = option_env!("CFG_PREFIX").expect("CFG_PREFIX"); |
This means that rustc_codegen_ssa
won't be rebuilt when that env var changes. For the record, I haven't seen a bug from this, was just curious where CFG_PREFIX
may be used and spotted the mismatch.
cc @bjorn3
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.