From 10e77ebd1ee50122fc2c5b69f4a940c5c132d931 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 26 Jan 2023 08:01:04 +0000 Subject: [PATCH] build: Bump MSRV to 1.62 Needed for #[derive(Default)] on enums which is now clippy checked in 1.68. Fixes: #5140 Signed-off-by: Rob Bradford --- .github/workflows/build.yaml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 15824bbca..7327159f0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,7 @@ jobs: - stable - beta - nightly - - "1.60" + - "1.62" target: - x86_64-unknown-linux-gnu - x86_64-unknown-linux-musl diff --git a/Cargo.toml b/Cargo.toml index e55f3dfa2..6ce0ab565 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor" # a.) A dependency requires it, # b.) If we want to use a new feature and that MSRV is at least 6 months old, # c.) There is a security issue that is addressed by the toolchain update. -rust-version = "1.60" +rust-version = "1.62" [profile.release] lto = true