From d86181c04d8a9be3fdbda2d8844240d1674b5290 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Fri, 26 Jul 2024 22:27:14 +0300 Subject: [PATCH] test cargo build opts --- .github/release-canary-v3 | 2 +- debian/rules | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/release-canary-v3 b/.github/release-canary-v3 index 1e8b314..7f8f011 100644 --- a/.github/release-canary-v3 +++ b/.github/release-canary-v3 @@ -1 +1 @@ -6 +7 diff --git a/debian/rules b/debian/rules index bf79dae..c384233 100755 --- a/debian/rules +++ b/debian/rules @@ -9,8 +9,7 @@ export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch) override_dh_prep: # amd64 build prep ifeq (amd64-v3,$(PIKA_BUILD_ARCH)) -#export RUSTFLAGS = -C target-cpu=x86-64-v3 -C linker-plugin-lto -C opt-level=3 -export RUSTFLAGS = -C linker-plugin-lto +export RUSTFLAGS = -C target-cpu=x86-64-v3 -C lto=fat -C codegen-units=1 -C opt-level=3 endif BUILDFLAGS := --release