-
Notifications
You must be signed in to change notification settings - Fork 705
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
aarch64-pc-windows-msvc
requires clang
#2117
Comments
It would be great if somebody could submit a PR. |
I find the build setup for this crate quite convoluted to figure out from source (it needs perl & python in addition to Rust it seems)? If you have some pointers on where to look roughly I can try to take a stab at it. Even if it's just a dump of filenames & function calls to take a look at, it would help. |
When working on this crate from a Git checkout on Windows, I find it works best to work in a "Git Bash" or "MinGW" prompt. Then it needs nasm too. I don't know what BoringSSL does for Aarch64 Windows. I would look into what its build system is doing. build.rs is convoluted because of the pregeneration facility. Look at mk/package.sh to see how pregeneration before publishing is done. See also #1460 (comment) and #1460 (comment). IIRC, the main reasons we require clang boiled down to:
|
This would be super helpful |
I'm getting compile errors even with clang installed |
Same. This is currently my primary blocker for supporting windows. |
Unfortunately I didn't have time immediately since we're shipping a product atm so attention needed to be refocussed. I'd love to see this get picked up at some point tho (or get back to it myself). |
Hi all 👋, Any progress on this issue? Or solution? |
Right now, as documented in
BUILDING.md
this library requiresclang
in the path for this-msvc
target which of course is quite unexpected.This leads to a rather frustrating experience using this library: all crates using
ring
will exhibit downstream compilation errors, which goes counter to what's in the readme:I would suggest to provide pre-built binaries for this target alongside the
x86
&x64_86
targets (though I have no idea how this would impact the size of the final .crate), or to make code build from source on-msvc
targets (I expect this to be significantly more difficult).The text was updated successfully, but these errors were encountered: