diff --git a/Cargo.toml b/Cargo.toml index 340fe02234..912e33c495 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -158,6 +158,10 @@ buzz-ws-client = { path = "crates/buzz-ws-client" } buzz-relay-mesh = { path = "crates/buzz-relay-mesh" } buzz-datastore-tracing = { path = "crates/buzz-datastore-tracing" } +[profile.release] +lto = "thin" +codegen-units = 4 + # CI profile — builds the relay for desktop e2e. Dependencies keep full # release optimization (warm from main's cache; they carry the runtime hot # path: tokio/sqlx/axum). Workspace crates build at opt-level 1 — enough for @@ -167,6 +171,7 @@ buzz-datastore-tracing = { path = "crates/buzz-datastore-tracing" } [profile.ci] inherits = "release" lto = false +codegen-units = 16 opt-level = 1 [profile.ci.package."*"]