-
Notifications
You must be signed in to change notification settings - Fork 2.7k
add ICON from crates.io to the cargo executable on windows #16056
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
base: master
Are you sure you want to change the base?
Conversation
r? @weihanglo rustbot has assigned @weihanglo. Use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the code contribution.
Per our contributing guide, we encourage to discuss first before jumping straight to a pull request.
If you're willing to, please open a new issue for discussions. I'll mark this as draft for now.
Okay i am sorry, i though this just a little change so ... I'm sorry |
Issue as Feature Request or Inspiring Idea? I'll Inspiring Idea for now, because its not really a Feature |
For Anyone Reading this, here: https://internals.rust-lang.org/t/add-icon-from-crates-io-to-the-cargo-executable-on-windows/23597 |
Some preliminary feedback (leaving aside for the moment the question of whether we want to do this): this should be conditional on the target being windows, not the build architecture being windows, so that you get the icon even when cross-compiling to windows. Look at |
Additionally, what is the license of the icon? (I know I can follow the link in the code, but I feel like it needs to be more explicit here.) |
Or perhaps a pre-built res-file to avoid this dependency (and the dependency on |
Oh i'm sorry thats a lot of stuff i didn't knew about before |
Thanks for the pull request 🎉!
Please read the contribution guide: https://doc.crates.io/contrib/.
What does this PR try to resolve?
The Change add a software icon to the cargo executable on windows
How to test and review this PR?
The Code changes the standard Icon from windows to the Icon from crates.io