projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4dc629
)
Update due to #5503.
author
Eric Huss
<eric@huss.org>
Thu, 10 May 2018 16:33:05 +0000
(09:33 -0700)
committer
Eric Huss
<eric@huss.org>
Thu, 10 May 2018 16:33:05 +0000
(09:33 -0700)
src/cargo/core/compiler/context/compilation_files.rs
patch
|
blob
|
history
diff --git
a/src/cargo/core/compiler/context/compilation_files.rs
b/src/cargo/core/compiler/context/compilation_files.rs
index 29afdcbf7bcfc44c99fb290af9f8a9bbb9a4fff1..a2e91ef7acdc10be6bdcf53591c92e4cf2a090dd 100644
(file)
--- a/
src/cargo/core/compiler/context/compilation_files.rs
+++ b/
src/cargo/core/compiler/context/compilation_files.rs
@@
-210,7
+210,7
@@
impl<'a, 'cfg: 'a> CompilationFiles<'a, 'cfg> {
// we don't want to link it up.
if out_dir.ends_with("deps") {
// Don't lift up library dependencies
- if self.roots.contains(unit) {
+ if
unit.target.is_bin() ||
self.roots.contains(unit) {
Some((
out_dir.parent().unwrap().to_owned(),
if unit.mode.is_any_test() {