From 55a7125ceae8a17e0ad4359bf205bf8f7f62b28b Mon Sep 17 00:00:00 2001 From: neon_arch Date: Wed, 30 Aug 2023 19:05:38 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20refactor:=20add=20build=20?= =?UTF-8?q?time=20binary=20file=20optimization=20(#180)(#178)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 348340a..b642f3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,7 +67,7 @@ dependencies = [ "actix-rt", "actix-service", "actix-utils", - "ahash 0.8.3", + "ahash", "base64 0.21.3", "bitflags 2.4.0", "brotli", diff --git a/Cargo.toml b/Cargo.toml index 321891b..4c67969 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -56,10 +56,10 @@ debug = false # This should only be commented when testing with dhat profiler split-debuginfo = '...' debug-assertions = false overflow-checks = false -lto = 'thin' +lto = true panic = 'abort' incremental = false -codegen-units = 16 +codegen-units = 1 rpath = false strip = "debuginfo"