Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

FlysoftBeta opened this issue May 19, 2023 · 0 comments


Copy link

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

lucasfernog added a commit that referenced this issue May 22, 2023
…7007 (#7014)

Co-authored-by: Lucas Nogueira <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants