Skip to content

[feat] Only compile staticlib, cdylib, rlib when the target is set to Android, iOS #7007

@FlysoftBeta

Description

@FlysoftBeta

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions