cloud-hypervisor/.github
Bo Chen 460ba718d4 github,Cargo.toml: Strip release binaries using toolchain
From Rust 1.59, the cargo command is now able to strip a binary [1].
This can be enabled in Cargo.toml by adding a `strip = "true"` to
the `[profile.release]` section.

Adding such binary stripping support in Cargo.toml of the project,
also change the stripping process in the release workflow to the one
using toolchain, so that the AArch64 release binaries can also
be stripped.

Fixes: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/4916

[1] https://doc.rust-lang.org/beta/cargo/reference/profiles.html#strip

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
(cherry picked from commit 1ff0191b30)
Signed-off-by: Bo Chen <chen.bo@intel.com>
2023-01-24 06:04:01 -08:00
..
ISSUE_TEMPLATE .github: Add issue template for bug report 2021-04-27 16:43:10 +02:00
workflows github,Cargo.toml: Strip release binaries using toolchain 2023-01-24 06:04:01 -08:00
dependabot.yml .github: Avoid excessive rebase & rebuilds from dependabot 2022-03-08 15:16:12 +00:00