Skip to content

Commit 2e9c47b

Browse files
committed
Fix integration tests waiting for binaries to finish.
Integration tests were waiting for binaries to finish building due to a minor logic error.
1 parent 7ab4778 commit 2e9c47b

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)