Open ydirson opened 8 months ago
Sorry, I'm not understanding what this issue is about. Can you also say what you are expecting it to do and why?
The reason bitflags is showing up with --target all
is because parking_lot_core
pulls in redox_syscall
on the redox operating system, and that pulls in the older 1.x version of bitflags.
The reason bitflags is showing up with
--target all
is becauseparking_lot_core
pulls inredox_syscall
on the redox operating system, and that pulls in the older 1.x version of bitflags.
Oh OK - that's not very visible, and I admit I had not checked whether it was actually built on my setup.
So it's not a bug - but then it shows it could be useful, when using --target all
, to show which target causes a given crate to be included in the tree. Would that be better in a new feature ticket, or would it be OK to retarget this one ?
So it's not a bug - but then it shows it could be useful, when using
--target all
, to show which target causes a given crate to be included in the tree. Would that be better in a new feature ticket, or would it be OK to retarget this one ?
That option could fit in the existing --edges
option as a new kind, but would be a bit difficult to show the information. Platform specific dependencies could be pulled by a combination of cfg
matched, not only target platform triples. We can just show the raw cfg(…)
from the dependency, though I am not sure if it looks better. Need someone to experiment ideas around it.
Problem
In upcoming xen-guest-agent 0.3.0, running the build on
x86_64-unknown-linux-gnu
platform, checked with both 1.72.0 and 1.74.1:but:
(snipping windows crates)
Relevant crate dependencies are:
That is,
tokio
is a mandatory dep, andnetlink
is pulled by a default feature, regardless of target.It seems their pulling of
bitflags v1
should really appearSteps
Possible Solution(s)
No response
Notes
No response
Version