artifact-dependencies seems to build both cdylib and staticlib when only one is specified #12109
Labels
C-bug
Category: bug
S-needs-mentor
Status: Issue or feature is accepted, but needs a team member to commit to helping and reviewing.
Z-bindeps
Nightly: binary artifact dependencies
Problem
When an artifact dependency specifies
artifact='staticlib'
, and the dependency declares its crate type as["staticlib", "cdylib"]
, cargo will build both the staticlib and cdylib separately. I would expect it to only build the staticlib.Steps
Create a project with an artifact dependency:
and in the bar dependency, specify it with multiple crate types:
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: