winresource
winresource copied to clipboard
Cross-compiling with MSVC toolchain from Linux
I am using cargo-xwin to cross-compile my project from Linux using the MSVC toolchain.
I was able to make it work with a symlink for rc.exe
to the LLVM provided tools llvm-rc-14, but that feels kind of hacky :)
I would like to make a PR but I am not sure what is the best approach.
I've tried to cross compile to gnu and is encountering issues with no metadata being applied.
I've tried to cross compile to gnu and is encountering issues with no metadata being applied.
Can you post your build.rs
and the command you called to cross-compile it? The GNU cross-compilation works for me.
Yeah, I fixed it, it was #[cfg] not working as I expected