add ICON from crates.io to the cargo executable on windows#16056
add ICON from crates.io to the cargo executable on windows#16056ShadowDara wants to merge 1 commit into
Conversation
|
r? @weihanglo rustbot has assigned @weihanglo. Use |
weihanglo
left a comment
There was a problem hiding this comment.
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 |
CC-BY. See the trademark policy. It's best to ask the Rust Foundation for permission, but I don't see a reason why they would be against it. |
|
☔ The latest upstream changes (possibly #16137) made this pull request unmergeable. Please resolve the merge conflicts. |
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