What is the current status in 2026 regarding adding icons to Windows executables?

What are the currently available options for adding icons to .exe files in Rust?

I am looking for a relatively simple method that would work in GitHub CI.

I did some research online and most of the methods only work on Windows, while some of my jobs cross-compile from Linux to Windows.

I used editpe and built a simple CLI tool to add icons. On Linux, created binaries, through Wine, worked without issues, but on Windows the icons were not visible.

Then I used rcedit.exe. In that case, one application worked fine on Windows, while another one crashed. On Linux, both crashed with a strange stack overflow.

I think winresource does a good job. It works on Linux and Windows.