ANDROID: Disable warning about new bindgen

This warning makes sense upstream because users may not know how to
adjust bindgen flags to be compatible with new versions. We adjusted
these flags as needed when updating the bindgen prebuilt.

Bug: 348496478
Change-Id: I6d201971d83b08225e847881708d19c34b9e3040
Signed-off-by: Matthew Maurer <mmaurer@google.com>
This commit is contained in:
Matthew Maurer 2024-06-21 17:17:24 +00:00
parent a10b25b5a4
commit 2f4e6b1def

View File

@ -165,14 +165,6 @@ if [ "$rust_bindings_generator_cversion" -lt "$rust_bindings_generator_min_cvers
echo >&2 "***"
exit 1
fi
if [ "$rust_bindings_generator_cversion" -gt "$rust_bindings_generator_min_cversion" ]; then
echo >&2 "***"
echo >&2 "*** Rust bindings generator '$BINDGEN' is too new. This may or may not work."
echo >&2 "*** Your version: $rust_bindings_generator_version"
echo >&2 "*** Expected version: $rust_bindings_generator_min_version"
echo >&2 "***"
warning=1
fi
# Check that the `libclang` used by the Rust bindings generator is suitable.
#