Describe the problem
When I'm compiling desktop targets, Cargo generates many useless library files (.rlib,.so,.lib) which takes a lot of time to link them.
Describe the solution you'd like
Can staticlib, cdylib, rlib be ignored when the target is desktop?
Alternatives considered
No response
Additional context
No response