From 25ac3524c9ec0090a51cfd0283b2477ba1b034bb Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 14 Sep 2021 20:10:44 +1000 Subject: [PATCH] versions: Allow newer Rust versions Rust 1.47.0 which is the latest we note as tested in versions.yaml is now getting fairly old - many current distros have newer versions (e.g. Rust 1.54.0 in Fedora 34). Bring this more up to date. Note that this is only updating the 'newest-version', not the minimum required version. The new version changes the name of the 'clippy::unknown_clipp_lints' option to simply 'unknown_lints' so we need to change that as well to avoid warnings. fixes #2633 Signed-off-by: David Gibson --- src/agent/src/watcher.rs | 2 +- src/agent/vsock-exporter/src/lib.rs | 2 +- versions.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/agent/src/watcher.rs b/src/agent/src/watcher.rs index 94f1b1966..b6ec52898 100644 --- a/src/agent/src/watcher.rs +++ b/src/agent/src/watcher.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 // -#![allow(clippy::unknown_clippy_lints)] +#![allow(unknown_lints)] use std::collections::HashMap; use std::path::{Path, PathBuf}; diff --git a/src/agent/vsock-exporter/src/lib.rs b/src/agent/vsock-exporter/src/lib.rs index f83ee5072..27e71e64b 100644 --- a/src/agent/vsock-exporter/src/lib.rs +++ b/src/agent/vsock-exporter/src/lib.rs @@ -12,7 +12,7 @@ // payload, which allows the forwarder to know how many bytes it must read to // consume the trace span. The payload is a serialised version of the trace span. -#![allow(clippy::unknown_clippy_lints)] +#![allow(unknown_lints)] use async_trait::async_trait; use byteorder::{ByteOrder, NetworkEndian}; diff --git a/versions.yaml b/versions.yaml index ebf143f18..326766710 100644 --- a/versions.yaml +++ b/versions.yaml @@ -255,7 +255,7 @@ languages: description: | 'newest-version' is the latest version known to work when building Kata - newest-version: "1.47.0" + newest-version: "1.54.0" specs: description: "Details of important specifications"