winres
winres copied to clipboard
Create and set windows icons and metadata for executables with a rust build script
Since Rust 1.61 [1], the linker no longer includes the static libraries with the `--whole-archive` flag. This means that the `resource.o` file is only added to the final EXE if...
Hi, what's the current state of cross compilation from Windows? The README says: > Note that using this crate on non windows platform is undefined behavior. It does not contain...
As suggested in the issue by petrochenkov.
Fixes mxre/winres#28. I think it's absolutely reasonable to change the default to match what Windows expects as the default. Users of this crate will expect `winres` to be a canonical...
I just tried to run the tests and they don't work on my machine. Do they work on yours? I have a hypothesis of why they don't work. I ran...
I'm cross compiling from linux to windows, but I found it not work. I checked the history issue and found that the problem is still unresolved. However, in the course...
This adds some logic to determine if cross-compilation is occurring, and picks the right prefix to use depending on the target, similar to what the `cc` crate does. It also...
**TL;DR:** Might be worth inserting `\0` after the escaped `v` on line 400 here: https://github.com/mxre/winres/blob/82f55f8b46ca7ac44971b6f14b5770ab5d65d8df/lib.rs#L396-L404 [MSDN Examples](https://docs.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource#examples) for VERSIONINFO resources appear to explicitly null terminate file/product version strings (`VER_FILEVERSION_STR` /...
previously it was setting `CARGO_PKG_NAME` for `FileDescription` now I changed it to the right one (`CARGO_PKG_DESCRIPTION`) also one thing that I'm not very sure of is why you using `unwrap`...