Skip to content

Commit e019724

Browse files
committed
Look for regular lib first.
1 parent 47c3004 commit e019724

File tree

1 file changed

+1
-1
lines changed
  • src/cargo/ops/tree/format

1 file changed

+1
-1
lines changed

src/cargo/ops/tree/format/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl<'a> fmt::Display for Display<'a> {
109109
.manifest()
110110
.targets()
111111
.iter()
112-
.find(|target| target.is_dylib() || target.is_lib())
112+
.find(|target| target.is_lib() || target.is_dylib())
113113
.map(|lib_target| lib_target.name())
114114
.unwrap_or(&package.name())
115115
)?;

0 commit comments

Comments
 (0)