mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
meson, cargo: require Rust 1.77.0
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
641f1c5386
commit
e0b2b74f70
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
doc-valid-idents = ["PrimeCell", ".."]
|
||||
msrv = "1.63.0"
|
||||
msrv = "1.77.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue