From 2d7bfe6a54c907523df307e6ddd7bc9c141e7107 Mon Sep 17 00:00:00 2001 From: James Wainwright Date: Thu, 18 Jan 2024 11:39:42 +0000 Subject: [PATCH] Enable optimisations for debug builds --- sw/rust/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sw/rust/Cargo.toml b/sw/rust/Cargo.toml index ff0fa517..a68f9d41 100644 --- a/sw/rust/Cargo.toml +++ b/sw/rust/Cargo.toml @@ -16,3 +16,9 @@ resolver = "2" [profile.release] debug = true + +[profile.dev] +opt-level = 1 + +[profile.dev.package.'*'] +opt-level = 2