mirror of https://github.com/linkerd/linkerd2.git
Build policy controller with lto=thin (#10495)
We currently enable "fat" link-time optimization. This substantially slows down the build times for the policy controller, especialy in CI. This change upates the release profile to use "thin" LTO. Locally, this reduces binary compilation time from 120.2 to 34s.
This commit is contained in:
parent
3ae3890593
commit
1900a7f48c
|
|
@ -10,4 +10,4 @@ members = [
|
|||
]
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
lto = "thin"
|
||||
|
|
|
|||
Loading…
Reference in New Issue