mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Update development container and release action to Rust 1.67
This latest stable Rust toolchain can help reduce the final binary size around ~300k when comparing with building with Rust 1.62. Specifically, the binary size now is 3.3M (previously 3.6M) with default feature, and 4.0M (previously 4.2M) with "kvm+mshv" feature (e.g. our release action build) . Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
FROM ubuntu:20.04 as dev
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG RUST_TOOLCHAIN="1.66.1"
|
||||
ARG RUST_TOOLCHAIN="1.67.1"
|
||||
ARG CLH_SRC_DIR="/cloud-hypervisor"
|
||||
ARG CLH_BUILD_DIR="$CLH_SRC_DIR/build"
|
||||
ARG CARGO_REGISTRY_DIR="$CLH_BUILD_DIR/cargo_registry"
|
||||
|
||||
Reference in New Issue
Block a user