Skip to content

Commit

Permalink
fixup! has-rust-patches doesn't make sense to set for managed submo…
Browse files Browse the repository at this point in the history
…dules
  • Loading branch information
jyn514 committed Jul 8, 2023
1 parent 6caad99 commit 38392fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 1516,7 @@ impl Config {
}
if let Some(patches) = cfg.llvm_has_rust_patches {
assert!(
config.submodules.is_some(),
config.submodules.is_none(),
"cannot set `llvm-has-rust-patches` for a managed submodule"
);
target.llvm_has_rust_patches = Some(patches);
Expand Down

0 comments on commit 38392fb

Please sign in to comment.