Skip to content

Commit

Permalink
versions: Allow newer Rust versions
Browse files Browse the repository at this point in the history
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 kata-containers#2633

Signed-off-by: David Gibson <[email protected]>
  • Loading branch information
dgibson committed Sep 14, 2021
1 parent 851d5f8 commit 25ac352
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/agent/src/watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion src/agent/vsock-exporter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 1 addition & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 25ac352

Please sign in to comment.