diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c4dab9e42..a080c3638 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,8 +35,6 @@ jobs: toolchain: "1.62" command: build args: --all --release --no-default-features --features "kvm,mshv" --target=x86_64-unknown-linux-musl - - name: Strip cloud-hypervisor binaries - run: strip target/*/release/cloud-hypervisor - name: Install Rust toolchain (aarch64-unknown-linux-musl) uses: actions-rs/toolchain@v1 with: diff --git a/Cargo.toml b/Cargo.toml index 3e5eb7780..e4a21abd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ rust-version = "1.60" lto = true codegen-units = 1 opt-level = "s" +strip = true [dependencies] anyhow = "1.0.66"