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:
parent
04ee1efa70
commit
85962099c7
3 changed files with 7 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue