rusticl: bump bindgen req to 0.65

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25265>
This commit is contained in:
Karol Herbst 2023-09-17 12:44:34 +02:00 committed by Marge Bot
parent c46cd101e1
commit 86a11248a5
4 changed files with 4 additions and 10 deletions

View File

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

View File

@ -16,7 +16,7 @@ variables:
DEBIAN_BASE_TAG: "20240503-mold"
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
DEBIAN_BUILD_TAG: "20240503-mold"
DEBIAN_BUILD_TAG: "20240509-bindgen"
DEBIAN_X86_64_TEST_BASE_IMAGE: "debian/x86_64_test-base"

View File

@ -33,7 +33,7 @@ The minimum versions to build Rusticl are:
- Rust: 1.66
- Meson: 1.3.1
- Bindgen: 0.62.0
- Bindgen: 0.65.0
- LLVM: 15.0.0
- Clang: 15.0.0
Updating clang requires a rebuilt of mesa and rusticl if and only if the value of

View File

@ -128,14 +128,8 @@ if bindgen_version == 'unknown'
error('Failed to detect bindgen version. If you are using bindgen 0.69.0, please either update to 0.69.1 or downgrade to 0.68.1. You can install the latest version for your user with `cargo install bindgen-cli`.')
endif
if bindgen_version.version_compare('< 0.62')
error('rusticl requires bindgen 0.62 or newer. If your distribution does not ship a recent enough version, you can install the latest version for your user with `cargo install bindgen-cli`.')
endif
if bindgen_version.version_compare('< 0.65')
rusticl_bindgen_args += [
'--size_t-is-usize',
]
error('rusticl requires bindgen 0.65 or newer. If your distribution does not ship a recent enough version, you can install the latest version for your user with `cargo install bindgen-cli`.')
endif
rusticl_bindgen_c_args = [