-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
MSRV issue with c_char #2317
Comments
Having same issue here while building cryptography. i686-pc-windows-gnu with MSRV 1.63
Solved this by replacing (line 28, kdf.rs)
with
|
Thanks, I'll do a fix and release for this this evening. (If someone does a
PR first, that'd be lovely)
…On Wed, Oct 16, 2024, 1:21 PM Tarnum-tst ***@***.***> wrote:
Having same issue here while building cryptography. i686-pc-windows-gnu
with MSRV 1.63
error[E0432]: unresolved import std::ffi::c_char-->
C:\Users\User\.cargo\registry\src\gh.neting.cc-1285ae84e5963aae\openssl-0.10.67\src\kdf.rs:28:24
| 28 | use std::ffi::{c_char, c_void}; | ^^^^^^ noc_charinffi``
Solved this by replacing 'use std::ffi::{c_char, c_void};' (line 28,
kdfs.rs) with 'use libc::{c_char, c_void};'
—
Reply to this email directly, view it on GitHub
<#2317 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBCDHL7VFSEZSTWGPSDZ32OAZAVCNFSM6AAAAABQAL6B52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGQ2TENZSGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
alex
added a commit
that referenced
this issue
Oct 16, 2024
fixes #2317 -- restore compatibility with our MSRV and release openssl 0.9.68
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the latest release 0.10.67 actually requires an MSRV of 1.64 to compile, but is published as 1.63.
We saw the following error in our CI (testing a 1.63 MSRV)
ci link
From the documentation, it looks like c_char wasn't added until 1.64.
The text was updated successfully, but these errors were encountered: