mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-05 06:01:32 +00:00
build: use LTO for release profile artifacts
this allows us to save ~25-30% on binary sizes, at least in guestinit Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
This commit is contained in:
@ -116,3 +116,6 @@ features = ["tls"]
|
|||||||
[workspace.dependencies.uuid]
|
[workspace.dependencies.uuid]
|
||||||
version = "1.6.1"
|
version = "1.6.1"
|
||||||
features = ["v4"]
|
features = ["v4"]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = "fat"
|
||||||
|
Reference in New Issue
Block a user