Skip to content
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

Compilation error in asm-hashes "crate does not support Windows targets" #348

Closed
hko-s opened this issue May 10, 2024 · 1 comment
Closed

Comments

@hko-s
Copy link
Contributor

hko-s commented May 10, 2024

rpgp CI errors out in "Build and test (Windows) (windows-latest, beta, x86_64-pc-windows-gnu)".

e.g. in https://github.com/rpgp/rpgp/actions/runs/9034288092/job/24826472326

    Checking rsa v0.9.6
error: crate does not support Windows targets
Error:   --> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\md5-asm-0.5.2\src/lib.rs:16:1
   |
16 | compile_error!("crate does not support Windows targets");
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: crate does not support Windows targets
Error:   --> C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\sha1-asm-0.5.3\src/lib.rs:16:1
   |
16 | compile_error!("crate does not support Windows targets");
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile `md5-asm` (lib) due to 1 previous error
Error: warning: build failed, waiting for other jobs to finish...
error: could not compile `sha1-asm` (lib) due to 1 previous error
Error: The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101
0s

This PR seems to explain the background: RustCrypto/asm-hashes#79

@hko-s hko-s mentioned this issue May 10, 2024
@hko-s
Copy link
Contributor Author

hko-s commented May 11, 2024

Fixed by 56505aa

@hko-s hko-s closed this as completed May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant