cargo check
builds a dependency shared by a proc macro and library twice
#15422
Labels
A-build-execution
Area: anything dealing with executing the compiler
C-enhancement
Category: enhancement
Command-check
S-needs-team-input
Status: Needs input from team on whether/how to proceed.
Problem
If you have a library and a proc macro that depend on the same package it will be built twice when
cargo check
ingSteps
Produces
Possible Solution(s)
No response
Notes
The first is has
--emit=dep-info,metadata -C debuginfo=2
and the second--emit=dep-info,metadata,link
, but using--config profile.dev.debug=false
doesn't unify themI wasn't sure if this was #3501 or not, but it seems related
Version
The text was updated successfully, but these errors were encountered: