Meson 1.7.0 is required to ensure that generated bindings are suitable for use with the selected Rust compiler. Bindgen is bumped to 0.71.1 which has more permissive handling of `--rust-target`, enabling (almost) any valid Rust version to be passed as a target; `-nightly` and `-beta*` suffixes are an exception to this. This behaviour is expected to improve further with later versions of Meson; upstream fixes have landed that: - pass a stripped version string to bindgen - additionally pass an appropriate `--rust-edition` if `rust_std` is set (or "nightly" if the compiler is `nightly`). Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12680 Bug: https://bugs.gentoo.org/946913 Signed-off-by: Matt Jolly <kangie@gentoo.org> Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33725>
13 lines
318 B
Bash
13 lines
318 B
Bash
#!/usr/bin/env bash
|
|
|
|
# When changing this file, you need to bump the following
|
|
# .gitlab-ci/image-tags.yml tags:
|
|
# ALPINE_X86_64_BUILD_TAG
|
|
# DEBIAN_BUILD_TAG
|
|
# FEDORA_X86_64_BUILD_TAG
|
|
|
|
rm -f /usr/lib/python3.*/EXTERNALLY-MANAGED
|
|
|
|
# We need at least 1.7.0 for proper rust binding generation
|
|
pip3 install 'meson==1.7.0'
|