Skip to content

Commit 023a082

Browse files
committed
Auto merge of #7394 - ehuss:fix-bin-edge, r=alexcrichton
Fix integration tests waiting for binaries to finish. Integration tests were waiting for binaries to finish building due to a minor logic error. Fixes #7393
2 parents 7ab4778 + 2e9c47b commit 023a082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cargo/core/compiler/job_queue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ impl<'a, 'cfg> JobQueue<'a, 'cfg> {
164164
.filter(|unit| {
165165
// Binaries aren't actually needed to *compile* tests, just to run
166166
// them, so we don't include this dependency edge in the job graph.
167-
!unit.target.is_test() || !unit.target.is_bin()
167+
!unit.target.is_test() && !unit.target.is_bin()
168168
})
169169
.map(|dep| {
170170
// Handle the case here where our `unit -> dep` dependency may

0 commit comments

Comments
 (0)