mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 19:08:00 +03:00
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:
parent
6cc3a4d95c
commit
3ee3c6a3bd
@ -482,6 +482,11 @@ codegen-units = 1
|
|||||||
[profile.release.package]
|
[profile.release.package]
|
||||||
zed = { codegen-units = 16 }
|
zed = { codegen-units = 16 }
|
||||||
|
|
||||||
|
[profile.release-fast]
|
||||||
|
inherits = "release"
|
||||||
|
lto = false
|
||||||
|
codegen-units = 16
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
[workspace.lints.clippy]
|
||||||
dbg_macro = "deny"
|
dbg_macro = "deny"
|
||||||
todo = "deny"
|
todo = "deny"
|
||||||
|
Loading…
Reference in New Issue
Block a user