From 5f43a6eae8d0a1ebcc702bace2f0c445333668d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Sat, 15 Jan 2022 14:34:37 +1300 Subject: [PATCH] Move profile to where it's effective --- Cargo.toml | 3 ++- cli/Cargo.toml | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6603e07..a6f3209 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,5 +6,6 @@ members = [ ] [profile.release] -lto = true +debug = 1 # for stack traces +lto = "fat" codegen-units = 1 diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 610aaf6..b47e054 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -67,10 +67,6 @@ insta = "1.7.1" [features] dev-console = ["console-subscriber"] -[profile.release] -debug = 1 # for stack traces -lto = "fat" - [package.metadata.binstall] pkg-url = "{ repo }/releases/download/cli-v{ version }/watchexec-{ version }-{ target }.tar.xz" bin-dir = "watchexec-{ version }-{ target }/{ bin }{ format }"