So I discovered recently that you can embed icons and manifests and the
like into go executables on windows using a rather arcane process of 8g,
pack, and 8l invocations. Are there any plans to add support for this to go
build? It would be really nice for people making windows programs,
especially gui ones.
The requirements are simple: when running go build on windows for
executable output and there is an .rc file in the directory corresponding
to the main package, hand it off to windres (in mingw) and add the
resulting .o file to the .a archive containing the package. That's it.
This of course would mean that mingw would be required for doing this sort
of thing, but I certainly don't have a problem with that - after all, it's
already needed for cgo.
If there's no plans, would a patch be accepted?