build: Bump minimum Rust version to 1.60

Some dependencies (e.g. pnet 0.30.0) require it.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2022-05-24 14:32:18 +01:00
parent a14ebbb758
commit ffd1411e7c
5 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ jobs:
- stable
- beta
- nightly
- 1.56
- "1.60"
target:
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl

View File

@ -26,13 +26,13 @@ jobs:
- name: Build
uses: actions-rs/cargo@v1
with:
toolchain: 1.58
toolchain: "1.60"
command: build
args: --all --release --target=x86_64-unknown-linux-gnu
- name: Static Build
uses: actions-rs/cargo@v1
with:
toolchain: 1.58
toolchain: "1.60"
command: build
args: --all --release --target=x86_64-unknown-linux-musl
- name: Strip cloud-hypervisor binaries

View File

@ -10,7 +10,7 @@ description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM
homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor"
# Minimum buildable version:
# Keep in sync with version in .github/workflows/build.yaml
rust-version = "1.56"
rust-version = "1.60"
[profile.release]
lto = true

View File

@ -4,7 +4,7 @@
FROM ubuntu:20.04 as dev
ARG TARGETARCH
ARG RUST_TOOLCHAIN="1.59.0"
ARG RUST_TOOLCHAIN="1.60.0"
ARG CLH_SRC_DIR="/cloud-hypervisor"
ARG CLH_BUILD_DIR="$CLH_SRC_DIR/build"
ARG CARGO_REGISTRY_DIR="$CLH_BUILD_DIR/cargo_registry"

View File

@ -7,7 +7,7 @@
CLI_NAME="Cloud Hypervisor"
CTR_IMAGE_TAG="cloudhypervisor/dev"
CTR_IMAGE_VERSION="20220405-0"
CTR_IMAGE_VERSION="20220526-0"
CTR_IMAGE="${CTR_IMAGE_TAG}:${CTR_IMAGE_VERSION}"
DOCKER_RUNTIME="docker"