From 770c6037bca8bf3efe8f1856d690f9e7fa303a54 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 9 Jan 2025 04:03:27 -0800 Subject: [PATCH] set opt level for dev build --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 02451d0..7e275ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,8 @@ resolver = "2" #lto = true strip = true codegen-units = 1 + +[profile.dev] +opt-level = 1 +[profile.dev.package."*"] +opt-level = 3