From a10974ed6e2a5de9fff0e58bb9d0fe15391a7966 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 13 Jan 2021 18:10:21 +0100 Subject: [PATCH] Set debug=0 in cargo.toml to speed up builds --- Cargo.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ca2d291c3..6a60aa211 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,8 +3,11 @@ name = "lemmy_server" version = "0.0.1" edition = "2018" -#[profile.release] -#lto = true +[profile.dev] +debug = 0 + +[profile.release] +lto = true [workspace] members = [