From 5628068888bc8360081a1342f5edec7e82747e89 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Thu, 26 Jan 2023 19:23:52 -0800 Subject: [PATCH] codegen-units = 1 --- Cargo.toml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7b5d68aa..1d5c2238 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,10 +9,7 @@ members = [ ] [profile.release] -# we leave debug = true on so that sentry can give us line numbers +# `debug = true` so that sentry can give us line numbers debug = true -# TODO: enable lto (and maybe other things proven with benchmarks) once rapid development is done -lto = true - -# TODO: we can't do panic = abort because the websockets disconnect by panicking sometimes -# TODO: i want to have a panic handler than sends things to pagerduty when we panic, but that will be too verbose too +# spend longer compiling for a slightly faster binary +codegen-units = 1