We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a375799 commit 5683bf9Copy full SHA for 5683bf9
src/bootstrap/lib.rs
@@ -542,7 +542,14 @@ impl Build {
542
for submodule in submodules {
543
// If using llvm-root then don't touch the llvm submodule.
544
if submodule.path.components().any(|c| c == Component::Normal("llvm".as_ref())) &&
545
- self.config.target_config.get(&self.config.build).and_then(|c| c.llvm_config.as_ref()).is_some()
+ self.config.target_config.get(&self.config.build)
546
+ .and_then(|c| c.llvm_config.as_ref()).is_some()
547
+ {
548
+ continue
549
+ }
550
+
551
+ if submodule.path.components().any(|c| c == Component::Normal("jemalloc".as_ref())) &&
552
+ !self.config.use_jemalloc
553
{
554
continue
555
}
0 commit comments