From 98063af728afd168c92b09bb07ec64748243891b Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Fri, 26 Jul 2024 22:25:08 +0300 Subject: [PATCH] test cargo build opts --- .github/build-canary-v3 | 2 +- debian/rules | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/build-canary-v3 b/.github/build-canary-v3 index 7f8f011..45a4fb7 100644 --- a/.github/build-canary-v3 +++ b/.github/build-canary-v3 @@ -1 +1 @@ -7 +8 diff --git a/debian/rules b/debian/rules index 5f93d50..bf79dae 100755 --- a/debian/rules +++ b/debian/rules @@ -9,7 +9,8 @@ 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 target-cpu=x86-64-v3 -C linker-plugin-lto -C opt-level=3 +export RUSTFLAGS = -C linker-plugin-lto endif BUILDFLAGS := --release