Document linking to C++ standard library (#335)

This was added in #264, but not documented so far.
This commit is contained in:
Felix Hanau 2025-03-18 11:16:43 -04:00 committed by GitHub
parent 11630058f0
commit d5bd85b3e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -61,6 +61,13 @@
//! Note that `BORING_BSSL_PRECOMPILED_BCM_O` is never used, as linking BoringSSL with precompiled non-FIPS //! Note that `BORING_BSSL_PRECOMPILED_BCM_O` is never used, as linking BoringSSL with precompiled non-FIPS
//! module is not supported. //! module is not supported.
//! //!
//! ## Linking with a C++ standard library
//!
//! Recent versions of boringssl require some C++ standard library features, so boring needs to link
//! with a STL implementation. This can be controlled using the BORING_BSSL_RUST_CPPLIB variable. If
//! no library is specified, libc++ is used on macOS and iOS whereas libstdc++ is used on other Unix
//! systems.
//!
//! # Optional patches //! # Optional patches
//! //!
//! ## Raw Public Key //! ## Raw Public Key