Attaching an Icon Resource to a Rust Application
1 answer
Rust has no idea about icon files for windows, so you'll do it the same way as in C, albeit through the Rust External Function Interface (FFI). There are FFI wrappers for the windows API, winapi in particular .
Here's an example showing how to link an icon to an executable (via an .rc file).
+5
source to share