You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using winapi to validate the authenticode signature on executables (via https://docs.rs/codesign-verify/). When I cross compile on Mac for Windows, it works fine; when I cross compile on Linux for Windows, it fails with a linker error:
Do you have any idea how to get around this? I can't think why an OSX build machine would work while Linux does not. We unfortunately need to build on our Linux dev server.
Thank you very much!
The text was updated successfully, but these errors were encountered:
Hello,
I am using winapi to validate the authenticode signature on executables (via https://docs.rs/codesign-verify/). When I cross compile on Mac for Windows, it works fine; when I cross compile on Linux for Windows, it fails with a linker error:
A simple test case follows:
Cargo.toml:
main.rs:
On the build system (Linux) I have installed Rust, added the x86_64-pc-windows-gnu target, and installed mingw-w64.
I build with command:
The error log is attached:
error.txt
Do you have any idea how to get around this? I can't think why an OSX build machine would work while Linux does not. We unfortunately need to build on our Linux dev server.
Thank you very much!
The text was updated successfully, but these errors were encountered: