From d229411a8db2bfb0deefeb18ac2ff5781ccb4b68 Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Mon, 15 Sep 2025 07:13:44 -0700 Subject: [PATCH] build: lto, ... --- Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 35e2d3c..83ddb7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,15 @@ description = "DPS to buttplug" version = "0.1.0" edition = "2021" +[profile.release] +opt-level = "z" +#opt-level = 2 +#codegen-units = 1 +#debug = true +panic = "abort" +#lto = "thin" +lto = true + [dependencies] anyhow = "1.0.95" buttplug = "9.0.6"