diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-05-10 14:24:14 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-05-23 17:49:13 +0300 |
commit | d7125aee68983659470b950d9f1bfc6a0bc46a66 (patch) | |
tree | d54e09738d8f95bad6668205374bb77133678dcb | |
parent | cfe660ae8232d0e7bbfe9b949319189820546e2a (diff) |
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.
-rw-r--r-- | Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml index 1d9377060..7731cce89 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 |