]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
meson, cargo: require Rust 1.77.0
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 2 May 2025 21:36:11 +0000 (23:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 May 2025 14:02:04 +0000 (16:02 +0200)
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
rust/Cargo.toml
rust/clippy.toml

index 6c61e1dcaec55f854bc43002d94f60097d0d9fe6..8eb3de5d68de8c1981a9136699ca4d9b0910fe62 100644 (file)
@@ -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
index 5ace47c69be7f64bf16c3c4941404b79fad111ff..eda7980b31afe50fee57b2173c31f4bd3326d873 100644 (file)
@@ -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 = [
index 5d190f91decf24b79fabbbd862da3ede9efa95f2..933e46a2ffb4ef9c2b1286452c9386ea336838a4 100644 (file)
@@ -1,2 +1,2 @@
 doc-valid-idents = ["PrimeCell", ".."]
-msrv = "1.63.0"
+msrv = "1.77.0"