aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. The library strives to be API-compatible with the popular Rust library named ring.
Other
272
stars
50
forks
source link
aws-lc-sys --features ssl,bindgen failed to build #348
error[E0425]: cannot find function, tuple struct or tuple variant `BIO_ctrl` in this scope
--> aws-lc-sys/src/lib.rs:82:14
|
82 | unsafe { BIO_ctrl(b, BIO_CTRL_INFO, 0, pp.cast::<c_void>()) }
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `CRYPTO_library_init` in this scope
--> aws-lc-sys/src/lib.rs:86:14
|
86 | unsafe { CRYPTO_library_init() }
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0425`.
error: could not compile `aws-lc-sys` (lib) due to 2 previous errors
failed to compile, the output:
the function name in the bindgen.rs is
which is different than the pre-generated one: