On Mon, May 5, 2025 at 12:04 PM Paolo Bonzini <pbonz...@redhat.com> wrote:
>
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  meson.build      | 6 +++---
>  rust/Cargo.toml  | 2 +-
>  rust/clippy.toml | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index 8ae70dbe45a..e77da3f9b75 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -94,12 +94,12 @@ have_rust = have_rust and add_languages('rust', native: 
> true,
>      required: get_option('rust').disable_auto_if(not have_system))
>  if have_rust
>    rustc = meson.get_compiler('rust')
> -  if rustc.version().version_compare('<1.63.0')
> +  if rustc.version().version_compare('<1.77.0')
>      if get_option('rust').enabled()
> -      error('rustc version ' + rustc.version() + ' is unsupported. Please 
> upgrade to at least 1.63.0')
> +      error('rustc version ' + rustc.version() + ' is unsupported. Please 
> upgrade to at least 1.77.0')
>      else
>        warning('rustc version ' + rustc.version() + ' is unsupported, 
> disabling Rust compilation.')
> -      message('Please upgrade to at least 1.63.0 to use Rust.')
> +      message('Please upgrade to at least 1.77.0 to use Rust.')
>        have_rust = false
>      endif
>    endif
> diff --git a/rust/Cargo.toml b/rust/Cargo.toml
> index 5ace47c69be..eda7980b31a 100644
> --- a/rust/Cargo.toml
> +++ b/rust/Cargo.toml
> @@ -12,7 +12,7 @@ edition = "2021"
>  homepage = "https://www.qemu.org";
>  license = "GPL-2.0-or-later"
>  repository = "https://gitlab.com/qemu-project/qemu/";
> -rust-version = "1.63.0"
> +rust-version = "1.77.0"
>
>  [workspace.lints.rust]
>  unexpected_cfgs = { level = "deny", check-cfg = [
> diff --git a/rust/clippy.toml b/rust/clippy.toml
> index 5d190f91dec..933e46a2ffb 100644
> --- a/rust/clippy.toml
> +++ b/rust/clippy.toml
> @@ -1,2 +1,2 @@
>  doc-valid-idents = ["PrimeCell", ".."]
> -msrv = "1.63.0"
> +msrv = "1.77.0"
> --
> 2.49.0
>

Reviewed-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org>

Reply via email to