Skip to content

Commit 38392fb

Browse files
committed
fixup! has-rust-patches doesn't make sense to set for managed submodules
1 parent 6caad99 commit 38392fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,7 @@ impl Config {
15161516
}
15171517
if let Some(patches) = cfg.llvm_has_rust_patches {
15181518
assert!(
1519-
config.submodules.is_some(),
1519+
config.submodules.is_none(),
15201520
"cannot set `llvm-has-rust-patches` for a managed submodule"
15211521
);
15221522
target.llvm_has_rust_patches = Some(patches);

0 commit comments

Comments
 (0)