From 9a04426617bdf2ff4599f571ff03e44e2e4054eb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 11 Nov 2019 10:11:46 +0300 Subject: Disable debuginfo in dev builds Hopefully, this makes printf debugging faster! --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 97c02b40f..5c57020f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,9 @@ members = [ "crates/*", "xtask/" ] [profile.dev] -debug = 1 # only line info +# disabling debug info speeds up builds a bunch, +# and we don't rely on it for debugging that much. +debug = 0 [profile.release] incremental = true -- cgit v1.2.3