cargo: Add release-fast profile (#13464)

This saves us ~1min of linking time on my Linux machine.

Release Notes:

- N/A

Co-authored-by: Piotr <piotr@zed.dev>
This commit is contained in:
Thorsten Ball 2024-06-24 14:34:16 +02:00 committed by GitHub
parent 6cc3a4d95c
commit 3ee3c6a3bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -482,6 +482,11 @@ codegen-units = 1
[profile.release.package]
zed = { codegen-units = 16 }
[profile.release-fast]
inherits = "release"
lto = false
codegen-units = 16
[workspace.lints.clippy]
dbg_macro = "deny"
todo = "deny"