mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
mesa: Bump required Rust version to 1.82
Firefox ESR requires Rust 1.82 since version 140. Thus, this update is in line with our Rust update policy. Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36526>
This commit is contained in:
parent
eda7043025
commit
6c7084357d
4 changed files with 5 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ set -ex
|
||||||
section_start rust "Building Rust toolchain"
|
section_start rust "Building Rust toolchain"
|
||||||
|
|
||||||
# Pick a specific patch version from rustup so the compiler doesn't drift on us.
|
# Pick a specific patch version from rustup so the compiler doesn't drift on us.
|
||||||
RUST_VERSION=1.81.0
|
RUST_VERSION=1.82.0
|
||||||
|
|
||||||
# For rust in Mesa, we use rustup to install. This lets us pick an arbitrary
|
# For rust in Mesa, we use rustup to install. This lets us pick an arbitrary
|
||||||
# version of the compiler, rather than whatever the container's Debian comes
|
# version of the compiler, rather than whatever the container's Debian comes
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ include:
|
||||||
- .gitlab-ci/conditional-build-image-tags.yml
|
- .gitlab-ci/conditional-build-image-tags.yml
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
DEBIAN_BASE_TAG: "20250723-decorless"
|
DEBIAN_BASE_TAG: "20250803-rustc"
|
||||||
|
|
||||||
DEBIAN_BUILD_TAG: "20250722-libwayland"
|
DEBIAN_BUILD_TAG: "20250722-libwayland"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ To build Rusticl you need to satisfy the following build dependencies:
|
||||||
|
|
||||||
The minimum versions to build Rusticl are:
|
The minimum versions to build Rusticl are:
|
||||||
|
|
||||||
- Rust: 1.78
|
- Rust: 1.82
|
||||||
- Meson: 1.7.0
|
- Meson: 1.7.0
|
||||||
- Bindgen: 0.71.1
|
- Bindgen: 0.71.1
|
||||||
- LLVM: 15.0.0 (recommended 19.0.0)
|
- LLVM: 15.0.0 (recommended 19.0.0)
|
||||||
|
|
|
||||||
|
|
@ -769,8 +769,8 @@ if with_gallium_rusticl or with_nouveau_vk or with_tools.contains('etnaviv') or
|
||||||
rustc = meson.get_compiler('rust')
|
rustc = meson.get_compiler('rust')
|
||||||
rust = import('rust')
|
rust = import('rust')
|
||||||
|
|
||||||
if rustc.version().version_compare('< 1.78')
|
if rustc.version().version_compare('< 1.82')
|
||||||
error('Mesa requires Rust 1.78.0 or newer')
|
error('Mesa requires Rust 1.82.0 or newer')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# bindgen 0.71 is the first version that knows about `editions`
|
# bindgen 0.71 is the first version that knows about `editions`
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue