rusticl: bump bindgen requirement

Apparently on some ARM systems any older bindgen version crashes.

Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Nora Allen <blackcatgames@protonmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23840>
This commit is contained in:
Karol Herbst 2023-06-23 22:11:16 +02:00 committed by Marge Bot
parent 5b29463746
commit 18f1087a21
4 changed files with 5 additions and 3 deletions

View File

@ -92,7 +92,7 @@ python3 -m pip install --break-system-packages -r .gitlab-ci/lava/requirements.t
# install bindgen # install bindgen
RUSTFLAGS='-L native=/usr/local/lib' cargo install \ RUSTFLAGS='-L native=/usr/local/lib' cargo install \
bindgen --version 0.59.2 \ bindgen-cli --version 0.62.0 \
-j ${FDO_CI_CONCURRENT:-4} \ -j ${FDO_CI_CONCURRENT:-4} \
--root /usr/local --root /usr/local

View File

@ -3,7 +3,7 @@ variables:
DEBIAN_BASE_TAG: "2023-06-21-virglrenderer" DEBIAN_BASE_TAG: "2023-06-21-virglrenderer"
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build" DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
DEBIAN_BUILD_TAG: "2023-05-25-bookworm" DEBIAN_BUILD_TAG: "2023-06-23-bindgen-bump"
DEBIAN_X86_64_BUILD_MINGW_IMAGE_PATH: "debian/x86_64_build-mingw" DEBIAN_X86_64_BUILD_MINGW_IMAGE_PATH: "debian/x86_64_build-mingw"
DEBIAN_BUILD_MINGW_TAG: "2023-05-25-bookworm" DEBIAN_BUILD_MINGW_TAG: "2023-05-25-bookworm"

View File

@ -20,7 +20,7 @@ The minimum versions to build Rusticl are:
- Rust: 1.60 - Rust: 1.60
- Meson: 1.0.0 - Meson: 1.0.0
- Bindgen: 0.58.0 - Bindgen: 0.62.0
- LLVM: 11.0.0 (recommended: 15.0.0) - LLVM: 11.0.0 (recommended: 15.0.0)
- SPIRV-Tools: any version (recommended: v2022.3) - SPIRV-Tools: any version (recommended: v2022.3)

View File

@ -94,6 +94,8 @@ rusticl_args = [
rusticl_gen_args = [ rusticl_gen_args = [
# can't do anything about it anyway # can't do anything about it anyway
'-Aclippy::all', '-Aclippy::all',
# Some bindgen versions assume `unsafe_op_in_unsafe_fn`
'-Aunused_unsafe',
'-Anon_camel_case_types', '-Anon_camel_case_types',
'-Anon_snake_case', '-Anon_snake_case',
'-Anon_upper_case_globals', '-Anon_upper_case_globals',