Skip to content

Commit ce06f77

Browse files
committed
[BROKEN] treat any crate that's not a binary as a library
closes rust-lang#503 TODO: this tries to build crates that are binaries and don't have a crate-type field
1 parent aee309f commit ce06f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/cargo_metadata.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl Package {
8484
target
8585
.kind
8686
.iter()
87-
.any(|kind| kind == "lib" || kind == "proc-macro")
87+
.any(|kind| kind != "bin")
8888
})
8989
}
9090

0 commit comments

Comments
 (0)