mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Bump MSRV to 1.88
This is necessary to use the let-chains feature in a follow-up. After upgrading to Rust edition 2024, clippy wants to collapse various if's with let-chains. Update image to 20250815-0 since MSRV in Dockerfile is updated. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
committed by
Rob Bradford
parent
78799187e8
commit
92f415ea3f
@@ -8,7 +8,7 @@
|
||||
FROM ubuntu:24.04 AS dev
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG RUST_TOOLCHAIN="1.87.0"
|
||||
ARG RUST_TOOLCHAIN="1.88.0"
|
||||
ARG CLH_SRC_DIR="/cloud-hypervisor"
|
||||
ARG CLH_BUILD_DIR="$CLH_SRC_DIR/build"
|
||||
ARG CARGO_REGISTRY_DIR="$CLH_BUILD_DIR/cargo_registry"
|
||||
@@ -123,7 +123,7 @@ RUN echo 'source $CARGO_HOME/env' >> "$HOME"/.bashrc \
|
||||
&& mkdir "$HOME"/.cargo \
|
||||
&& ln -s $CARGO_HOME/env "$HOME"/.cargo/env
|
||||
|
||||
# Allow pip to install packages system wide
|
||||
# Allow pip to install packages system wide
|
||||
# hadolint ignore=DL3003,SC2046
|
||||
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED \
|
||||
&& git clone https://github.com/spdk/spdk \
|
||||
|
||||
Reference in New Issue
Block a user