From 3d9d852bda9c4f18d4f1613d43ca168c29ecb630 Mon Sep 17 00:00:00 2001 From: Del Wang Date: Sun, 28 Dec 2025 20:21:05 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E4=BA=A7=E7=89=A9?= =?UTF-8?q?=E4=BD=93=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/hello/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/hello/Cargo.toml b/apps/hello/Cargo.toml index f283eaa..46476f5 100644 --- a/apps/hello/Cargo.toml +++ b/apps/hello/Cargo.toml @@ -3,6 +3,14 @@ name = "hello" version = "0.1.0" edition = "2024" +[profile.release] +lto = true +opt-level = "s" +codegen-units = 1 +panic = "abort" +strip = true +debug = false + [dependencies] alsa = "0.11" opus = "0.3"