From ad2983a6c51b91ef39b154bd2917d031c66d06fa Mon Sep 17 00:00:00 2001 From: apiraino Date: Wed, 10 Aug 2022 23:54:06 +0200 Subject: [PATCH] Strip binary artifact when building for release (#1949) * Strip binary artifact when building for release * Update rustc toolchain to 1.59 for Ubuntu in CI --- Cargo.toml | 1 + azure-pipelines.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1e4917ec9c..0b8644a0a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,6 +61,7 @@ members = ["components/*"] [profile.release] lto = true codegen-units = 1 +strip = true [profile.dev] # Disabling debug info speeds up builds a bunch, diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e8b08d0a0e..b2128c65b8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,7 +21,7 @@ stages: rustup_toolchain: stable linux-pinned: imageName: 'ubuntu-20.04' - rustup_toolchain: 1.57.0 + rustup_toolchain: 1.59.0 pool: vmImage: $(imageName) steps: