[PATCH] rust: add meson_version to all subprojects

Paolo Bonzini posted 1 patch 2 weeks, 3 days ago
subprojects/packagefiles/arbitrary-int-1-rs/meson.build         | 1 +
subprojects/packagefiles/bilge-0.2-rs/meson.build               | 1 +
subprojects/packagefiles/bilge-impl-0.2-rs/meson.build          | 1 +
subprojects/packagefiles/either-1-rs/meson.build                | 1 +
subprojects/packagefiles/itertools-0.11-rs/meson.build          | 1 +
subprojects/packagefiles/proc-macro-error-1-rs/meson.build      | 1 +
subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build | 1 +
subprojects/packagefiles/proc-macro2-1-rs/meson.build           | 1 +
subprojects/packagefiles/quote-1-rs/meson.build                 | 1 +
subprojects/packagefiles/syn-2-rs/meson.build                   | 1 +
subprojects/packagefiles/unicode-ident-1-rs/meson.build         | 1 +
11 files changed, 11 insertions(+)
[PATCH] rust: add meson_version to all subprojects
Posted by Paolo Bonzini 2 weeks, 3 days ago
Otherwise, newer releases of meson complain.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 subprojects/packagefiles/arbitrary-int-1-rs/meson.build         | 1 +
 subprojects/packagefiles/bilge-0.2-rs/meson.build               | 1 +
 subprojects/packagefiles/bilge-impl-0.2-rs/meson.build          | 1 +
 subprojects/packagefiles/either-1-rs/meson.build                | 1 +
 subprojects/packagefiles/itertools-0.11-rs/meson.build          | 1 +
 subprojects/packagefiles/proc-macro-error-1-rs/meson.build      | 1 +
 subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build | 1 +
 subprojects/packagefiles/proc-macro2-1-rs/meson.build           | 1 +
 subprojects/packagefiles/quote-1-rs/meson.build                 | 1 +
 subprojects/packagefiles/syn-2-rs/meson.build                   | 1 +
 subprojects/packagefiles/unicode-ident-1-rs/meson.build         | 1 +
 11 files changed, 11 insertions(+)

diff --git a/subprojects/packagefiles/arbitrary-int-1-rs/meson.build b/subprojects/packagefiles/arbitrary-int-1-rs/meson.build
index 34a189cbaec..cff3f62ce74 100644
--- a/subprojects/packagefiles/arbitrary-int-1-rs/meson.build
+++ b/subprojects/packagefiles/arbitrary-int-1-rs/meson.build
@@ -1,4 +1,5 @@
 project('arbitrary-int-1-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '1.2.7',
   license: 'MIT',
   default_options: [])
diff --git a/subprojects/packagefiles/bilge-0.2-rs/meson.build b/subprojects/packagefiles/bilge-0.2-rs/meson.build
index a6ed4a8f0cd..e69bac91b40 100644
--- a/subprojects/packagefiles/bilge-0.2-rs/meson.build
+++ b/subprojects/packagefiles/bilge-0.2-rs/meson.build
@@ -1,6 +1,7 @@
 project(
   'bilge-0.2-rs',
   'rust',
+  meson_version: '>=1.5.0',
   version : '0.2.0',
   license : 'MIT or Apache-2.0',
 )
diff --git a/subprojects/packagefiles/bilge-impl-0.2-rs/meson.build b/subprojects/packagefiles/bilge-impl-0.2-rs/meson.build
index 80243c7024d..f8f3486fc08 100644
--- a/subprojects/packagefiles/bilge-impl-0.2-rs/meson.build
+++ b/subprojects/packagefiles/bilge-impl-0.2-rs/meson.build
@@ -1,4 +1,5 @@
 project('bilge-impl-0.2-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '0.2.0',
   license: 'MIT OR Apache-2.0',
   default_options: [])
diff --git a/subprojects/packagefiles/either-1-rs/meson.build b/subprojects/packagefiles/either-1-rs/meson.build
index a5842eb3a6a..608e64e31fc 100644
--- a/subprojects/packagefiles/either-1-rs/meson.build
+++ b/subprojects/packagefiles/either-1-rs/meson.build
@@ -1,4 +1,5 @@
 project('either-1-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '1.12.0',
   license: 'MIT OR Apache-2.0',
   default_options: [])
diff --git a/subprojects/packagefiles/itertools-0.11-rs/meson.build b/subprojects/packagefiles/itertools-0.11-rs/meson.build
index 13d2d27019d..30982a4ee76 100644
--- a/subprojects/packagefiles/itertools-0.11-rs/meson.build
+++ b/subprojects/packagefiles/itertools-0.11-rs/meson.build
@@ -1,4 +1,5 @@
 project('itertools-0.11-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '0.11.0',
   license: 'MIT OR Apache-2.0',
   default_options: [])
diff --git a/subprojects/packagefiles/proc-macro-error-1-rs/meson.build b/subprojects/packagefiles/proc-macro-error-1-rs/meson.build
index 38ea7b89d39..ae27a696862 100644
--- a/subprojects/packagefiles/proc-macro-error-1-rs/meson.build
+++ b/subprojects/packagefiles/proc-macro-error-1-rs/meson.build
@@ -1,4 +1,5 @@
 project('proc-macro-error-1-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '1.0.4',
   license: 'MIT OR Apache-2.0',
   default_options: [])
diff --git a/subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build b/subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build
index d900c54cfd1..3281b264333 100644
--- a/subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build
+++ b/subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build
@@ -1,4 +1,5 @@
 project('proc-macro-error-attr-1-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '1.12.0',
   license: 'MIT OR Apache-2.0',
   default_options: [])
diff --git a/subprojects/packagefiles/proc-macro2-1-rs/meson.build b/subprojects/packagefiles/proc-macro2-1-rs/meson.build
index 818ec59336b..288323eaba8 100644
--- a/subprojects/packagefiles/proc-macro2-1-rs/meson.build
+++ b/subprojects/packagefiles/proc-macro2-1-rs/meson.build
@@ -1,4 +1,5 @@
 project('proc-macro2-1-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '1.0.84',
   license: 'MIT OR Apache-2.0',
   default_options: [])
diff --git a/subprojects/packagefiles/quote-1-rs/meson.build b/subprojects/packagefiles/quote-1-rs/meson.build
index d36609bd3c8..7f7792569b9 100644
--- a/subprojects/packagefiles/quote-1-rs/meson.build
+++ b/subprojects/packagefiles/quote-1-rs/meson.build
@@ -1,4 +1,5 @@
 project('quote-1-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '1.12.0',
   license: 'MIT OR Apache-2.0',
   default_options: [])
diff --git a/subprojects/packagefiles/syn-2-rs/meson.build b/subprojects/packagefiles/syn-2-rs/meson.build
index a53335f3092..bb3c15539be 100644
--- a/subprojects/packagefiles/syn-2-rs/meson.build
+++ b/subprojects/packagefiles/syn-2-rs/meson.build
@@ -1,4 +1,5 @@
 project('syn-2-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '2.0.66',
   license: 'MIT OR Apache-2.0',
   default_options: [])
diff --git a/subprojects/packagefiles/unicode-ident-1-rs/meson.build b/subprojects/packagefiles/unicode-ident-1-rs/meson.build
index 54f23768545..9d76ebbd1ad 100644
--- a/subprojects/packagefiles/unicode-ident-1-rs/meson.build
+++ b/subprojects/packagefiles/unicode-ident-1-rs/meson.build
@@ -1,4 +1,5 @@
 project('unicode-ident-1-rs', 'rust',
+  meson_version: '>=1.5.0',
   version: '1.0.12',
   license: '(MIT OR Apache-2.0) AND Unicode-DFS-2016',
   default_options: [])
-- 
2.47.0
Re: [PATCH] rust: add meson_version to all subprojects
Posted by Pierrick Bouvier 2 weeks, 3 days ago
On 11/6/24 09:45, Paolo Bonzini wrote:
> Otherwise, newer releases of meson complain.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>   subprojects/packagefiles/arbitrary-int-1-rs/meson.build         | 1 +
>   subprojects/packagefiles/bilge-0.2-rs/meson.build               | 1 +
>   subprojects/packagefiles/bilge-impl-0.2-rs/meson.build          | 1 +
>   subprojects/packagefiles/either-1-rs/meson.build                | 1 +
>   subprojects/packagefiles/itertools-0.11-rs/meson.build          | 1 +
>   subprojects/packagefiles/proc-macro-error-1-rs/meson.build      | 1 +
>   subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build | 1 +
>   subprojects/packagefiles/proc-macro2-1-rs/meson.build           | 1 +
>   subprojects/packagefiles/quote-1-rs/meson.build                 | 1 +
>   subprojects/packagefiles/syn-2-rs/meson.build                   | 1 +
>   subprojects/packagefiles/unicode-ident-1-rs/meson.build         | 1 +
>   11 files changed, 11 insertions(+)
> 
> diff --git a/subprojects/packagefiles/arbitrary-int-1-rs/meson.build b/subprojects/packagefiles/arbitrary-int-1-rs/meson.build
> index 34a189cbaec..cff3f62ce74 100644
> --- a/subprojects/packagefiles/arbitrary-int-1-rs/meson.build
> +++ b/subprojects/packagefiles/arbitrary-int-1-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('arbitrary-int-1-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '1.2.7',
>     license: 'MIT',
>     default_options: [])
> diff --git a/subprojects/packagefiles/bilge-0.2-rs/meson.build b/subprojects/packagefiles/bilge-0.2-rs/meson.build
> index a6ed4a8f0cd..e69bac91b40 100644
> --- a/subprojects/packagefiles/bilge-0.2-rs/meson.build
> +++ b/subprojects/packagefiles/bilge-0.2-rs/meson.build
> @@ -1,6 +1,7 @@
>   project(
>     'bilge-0.2-rs',
>     'rust',
> +  meson_version: '>=1.5.0',
>     version : '0.2.0',
>     license : 'MIT or Apache-2.0',
>   )
> diff --git a/subprojects/packagefiles/bilge-impl-0.2-rs/meson.build b/subprojects/packagefiles/bilge-impl-0.2-rs/meson.build
> index 80243c7024d..f8f3486fc08 100644
> --- a/subprojects/packagefiles/bilge-impl-0.2-rs/meson.build
> +++ b/subprojects/packagefiles/bilge-impl-0.2-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('bilge-impl-0.2-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '0.2.0',
>     license: 'MIT OR Apache-2.0',
>     default_options: [])
> diff --git a/subprojects/packagefiles/either-1-rs/meson.build b/subprojects/packagefiles/either-1-rs/meson.build
> index a5842eb3a6a..608e64e31fc 100644
> --- a/subprojects/packagefiles/either-1-rs/meson.build
> +++ b/subprojects/packagefiles/either-1-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('either-1-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '1.12.0',
>     license: 'MIT OR Apache-2.0',
>     default_options: [])
> diff --git a/subprojects/packagefiles/itertools-0.11-rs/meson.build b/subprojects/packagefiles/itertools-0.11-rs/meson.build
> index 13d2d27019d..30982a4ee76 100644
> --- a/subprojects/packagefiles/itertools-0.11-rs/meson.build
> +++ b/subprojects/packagefiles/itertools-0.11-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('itertools-0.11-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '0.11.0',
>     license: 'MIT OR Apache-2.0',
>     default_options: [])
> diff --git a/subprojects/packagefiles/proc-macro-error-1-rs/meson.build b/subprojects/packagefiles/proc-macro-error-1-rs/meson.build
> index 38ea7b89d39..ae27a696862 100644
> --- a/subprojects/packagefiles/proc-macro-error-1-rs/meson.build
> +++ b/subprojects/packagefiles/proc-macro-error-1-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('proc-macro-error-1-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '1.0.4',
>     license: 'MIT OR Apache-2.0',
>     default_options: [])
> diff --git a/subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build b/subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build
> index d900c54cfd1..3281b264333 100644
> --- a/subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build
> +++ b/subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('proc-macro-error-attr-1-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '1.12.0',
>     license: 'MIT OR Apache-2.0',
>     default_options: [])
> diff --git a/subprojects/packagefiles/proc-macro2-1-rs/meson.build b/subprojects/packagefiles/proc-macro2-1-rs/meson.build
> index 818ec59336b..288323eaba8 100644
> --- a/subprojects/packagefiles/proc-macro2-1-rs/meson.build
> +++ b/subprojects/packagefiles/proc-macro2-1-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('proc-macro2-1-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '1.0.84',
>     license: 'MIT OR Apache-2.0',
>     default_options: [])
> diff --git a/subprojects/packagefiles/quote-1-rs/meson.build b/subprojects/packagefiles/quote-1-rs/meson.build
> index d36609bd3c8..7f7792569b9 100644
> --- a/subprojects/packagefiles/quote-1-rs/meson.build
> +++ b/subprojects/packagefiles/quote-1-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('quote-1-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '1.12.0',
>     license: 'MIT OR Apache-2.0',
>     default_options: [])
> diff --git a/subprojects/packagefiles/syn-2-rs/meson.build b/subprojects/packagefiles/syn-2-rs/meson.build
> index a53335f3092..bb3c15539be 100644
> --- a/subprojects/packagefiles/syn-2-rs/meson.build
> +++ b/subprojects/packagefiles/syn-2-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('syn-2-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '2.0.66',
>     license: 'MIT OR Apache-2.0',
>     default_options: [])
> diff --git a/subprojects/packagefiles/unicode-ident-1-rs/meson.build b/subprojects/packagefiles/unicode-ident-1-rs/meson.build
> index 54f23768545..9d76ebbd1ad 100644
> --- a/subprojects/packagefiles/unicode-ident-1-rs/meson.build
> +++ b/subprojects/packagefiles/unicode-ident-1-rs/meson.build
> @@ -1,4 +1,5 @@
>   project('unicode-ident-1-rs', 'rust',
> +  meson_version: '>=1.5.0',
>     version: '1.0.12',
>     license: '(MIT OR Apache-2.0) AND Unicode-DFS-2016',
>     default_options: [])

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>