diff options
author | Aleksey Kladov <[email protected]> | 2019-11-11 07:11:46 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-11 07:11:46 +0000 |
commit | 9a04426617bdf2ff4599f571ff03e44e2e4054eb (patch) | |
tree | e38ec9051d69203f33e1c5aa6457b04069078b4c /Cargo.toml | |
parent | 317df32eb5863da093be92e860921120b92b9a26 (diff) |
Disable debuginfo in dev builds
Hopefully, this makes printf debugging faster!
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml index 97c02b40f..5c57020f7 100644 --- a/Cargo.toml +++ b/Cargo.toml | |||
@@ -2,7 +2,9 @@ | |||
2 | members = [ "crates/*", "xtask/" ] | 2 | members = [ "crates/*", "xtask/" ] |
3 | 3 | ||
4 | [profile.dev] | 4 | [profile.dev] |
5 | debug = 1 # only line info | 5 | # disabling debug info speeds up builds a bunch, |
6 | # and we don't rely on it for debugging that much. | ||
7 | debug = 0 | ||
6 | 8 | ||
7 | [profile.release] | 9 | [profile.release] |
8 | incremental = true | 10 | incremental = true |