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
236
stars
40
forks
source link
Exported symbols conflict with boring-sys crate #446
The libaws_lc_sys crate exports symbols which conflict with other crates, such as libboring_sys.
Relevant details
AWS-LC for Rust versions or commit: (6b1bce0...)
System information: for linux, below info can be collected by running uname -srvmp
CPU architecture: x86-64
OS: Windows 10
Build log:
= note: libboring_sys-85d2b9b1e2fceefe.rlib(crypto.obj) : error LNK2005: library_init_constructor already defined in libaws_lc_sys-adbe0a2ef2d693b0.rlib(crypto.obj)
libboring_sys-85d2b9b1e2fceefe.rlib(thread_win.obj) : error LNK2005: p_thread_callback_boringssl already defined in libaws_lc_sys-adbe0a2ef2d693b0.rlib(thread_win.obj)
...
fatal error LNK1169: one or more multiply defined symbols found
Problem:
The
libaws_lc_sys
crate exports symbols which conflict with other crates, such aslibboring_sys
.Relevant details
AWS-LC for Rust versions or commit: (6b1bce0...)
System information: for linux, below info can be collected by running
uname -srvmp
Build log: