meson: specify minimal target meson version for rust subprojects

Silences several meson warnings like:
```
../subprojects/equivalent-1.0.1/meson.build:9: WARNING: Project does not target a minimum version but uses feature introduced in '1.3.0': rust_abi arg in static_library.
```

The target of 1.7.0 was chosen since that's the minimal required meson version of the rust components in mesa anyway.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38814>
This commit is contained in:
LingMan 2025-12-04 17:15:36 +01:00 committed by Marge Bot
parent f53f35cb32
commit 49446a62c0
29 changed files with 29 additions and 0 deletions

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '2.9.1',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
lib = static_library(

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '1.0.0',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
lib = static_library(

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '1.0.1',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
lib = static_library(

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '0.3.12',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
os_deps = []

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '0.14.1',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
rust_args = [

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '2.2.6',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
dep_equivalent = subproject('equivalent-1-rs').get_variable('dep_equivalent')

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '0.2.168',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
libc_args = [

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '0.4.27',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
lib = static_library(

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '1.8.0',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
rust_args = [

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '1.0.14',
license : '(MIT or Apache-2.0)',
meson_version : '>= 1.7.0',
)
rust = import('rust')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '2.8.0',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
ucd = subproject('ucd-trie-0.1-rs').get_variable('lib')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '2.8.0',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
pest = subproject('pest-2-rs').get_variable('lib')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '2.8.0',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
pest = subproject('pest-2-rs').get_variable('lib')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '2.8.0',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
once_cell = subproject('once_cell-1-rs').get_variable('lib')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '1.0.86',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
rc = meson.get_compiler('rust')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '1.0.35',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
rc = meson.get_compiler('rust')

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '0.2.12',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
syn = subproject('syn-2-rs').get_variable('lib')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '0.20.0',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
lib = static_library(

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '2.1.1',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
rust_args = [

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '1.1.2',
license : 'Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT',
meson_version : '>= 1.7.0',
)
errno = subproject('errno-0.3-rs').get_variable('lib')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '2.0.87',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
rc = meson.get_compiler('rust')

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '2.0.11',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
syn = subproject('syn-2-rs').get_variable('lib')

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '2.0.11',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
syn = subproject('syn-2-rs').get_variable('lib')

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '0.1.6',
license : '(MIT or Apache-2.0) AND Unicode-DFS-2016)',
meson_version : '>= 1.7.0',
)
lib = static_library(

View file

@ -3,6 +3,7 @@ project(
'rust',
version : '1.0.12',
license : '(MIT or Apache-2.0) AND Unicode-DFS-2016)',
meson_version : '>= 1.7.0',
)
lib = static_library(

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '0.2.0',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
lib = static_library(

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '0.61.1',
license : 'MIT OR Apache-2.0',
meson_version : '>= 1.7.0',
)
windows_link = subproject('windows-link-0.2-rs').get_variable('lib')

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '0.8.13',
license : 'MIT OR Apache-2.0 OR BSD 2-Clause',
meson_version : '>= 1.7.0',
)
zerocopy_args = ['--cfg', 'feature="derive"']

View file

@ -6,6 +6,7 @@ project(
'rust',
version : '0.8.13',
license : 'MIT OR Apache-2.0 OR BSD 2-Clause',
meson_version : '>= 1.7.0',
)
syn = subproject('syn-2-rs').get_variable('lib')