From 641eed04266c1901774dcd021d716f53a9fb453f Mon Sep 17 00:00:00 2001 From: apiraino Date: Mon, 1 Aug 2022 15:20:40 +0200 Subject: [PATCH 1/2] Strip binary artifact when building for release --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) 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, From ef1bcc9de669ce290c1c20ddcc42ba6386ab9472 Mon Sep 17 00:00:00 2001 From: apiraino Date: Tue, 2 Aug 2022 18:15:56 +0200 Subject: [PATCH 2/2] Update rustc toolchain to 1.59 for Ubuntu in CI --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: