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 }"