From d7125aee68983659470b950d9f1bfc6a0bc46a66 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 10 May 2019 13:24:14 +0200 Subject: [PATCH] Cargo: set opt-level to 1 in dev builds We need some level of optimizations so the CDG decoder is usable in dev build. '1' is suitable for debugging according to the doc. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 1d937706..7731cce8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,3 +18,6 @@ lto = true opt-level = 3 debug = true panic = 'unwind' + +[profile.dev] +opt-level = 1