-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: test on 64-bit Windows (GNU) #19
Conversation
c13d00b
to
3ecf8b7
Compare
Can you try the GNU toolchain? |
Guess we need to install MinGW or something to make GNU work?
|
Hmmm, this is odd: https://github.com/RustCrypto/asm-hashes/pull/19/checks?check_run_id=1281623236
Notably:
|
Aha, here's an explanation: rust-lang/rust#33535 (comment)
...so we can't test 32-bit builds on a 64-bit Windows host. Unfortunate. I can still try testing 64-bit builds. |
Different error trying to link on 64-bit windows: https://github.com/RustCrypto/asm-hashes/pull/19/checks?check_run_id=1281689904
|
It looks you have found a way? I wonder if we should add a compilation error for MSVC targets, after short search I could not find a clear instruction on how to compile
Since it works on stable, simply bump MSRV? |
I removed the 32-bit Windows build
Huh, interesting. Guess I can start from 1.46.0 and work backwards until it breaks. Edit: looks like 1.43 is the minimum supported version |
f21c023
to
b7b2a69
Compare
Splits the GitHub Actions configs into `linux`, `windows`, and `cross` jobs, each configured to test certain targets. Tests Windows in the 64-bit environment only, as it seems it's not possible to test MINGW32 builds on 64-bit Windows: rust-lang/rust#33535 (comment) > The compiler only assumes that it can run executables for its own > platform, which in this case is x86_64-pc-windows-gnu. That means that > the compiler is running a 64-bit mingw gcc trying to generate a 32-bit > executable. The mingw gcc builds, however, do not support this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
|
||
In the future when the minimum supported Rust version is changed, | ||
it will be accompanied by a minor version bump. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment about MSVC targets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some platform notes in 47d0fd7
Seems 32-bit is a bit tricky (see below).
Testing on MSVC reproduced the error reported in #17.