From 5d85ec3ab5ad536395572c3222679a61590dffe0 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Tue, 14 Feb 2023 13:46:20 -0800 Subject: [PATCH] Use optimization in dev builds to make it usable --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a9eb7d1..e8e0a87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,3 +10,7 @@ futures-channel = "0.3.25" libcosmic = { git = "https://github.com/pop-os/libcosmic", default-features = false, features = ["tokio", "wayland"] } tokio = "1.23.0" zbus = { version = "3.7.0", default-features = false, features = ["tokio"] } + +[profile.dev] +# Not usable at opt-level 0, at least with software renderer +opt-level = 1