aboutsummaryrefslogtreecommitdiff
path: root/src/rust/bssl-sys/rust_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/bssl-sys/rust_wrapper.h')
-rw-r--r--src/rust/bssl-sys/rust_wrapper.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rust/bssl-sys/rust_wrapper.h b/src/rust/bssl-sys/rust_wrapper.h
index 632622a..55d5a6f 100644
--- a/src/rust/bssl-sys/rust_wrapper.h
+++ b/src/rust/bssl-sys/rust_wrapper.h
@@ -23,8 +23,10 @@ extern "C" {
// The following functions are wrappers over inline functions and macros in
-// BoringSSL, which bindgen cannot currently correctly bind. These wrappers
-// ensure changes to the functions remain in lockstep with the Rust versions.
+// BoringSSL. These are not necessary, as bindgen has long supported
+// --wrap-static-fns, however Android is still missing support for this. (See
+// b/290347127.) These manual wrappers are, temporarily, retained for Android,
+// but this codepath is no longer tested or supported by BoringSSL.
int ERR_GET_LIB_RUST(uint32_t packed_error);
int ERR_GET_REASON_RUST(uint32_t packed_error);
int ERR_GET_FUNC_RUST(uint32_t packed_error);