mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-02 21:00:55 +00:00
build: use LTO for release builds and strip guestinit (#68)
* initrd: strip guestinit binary before adding it to initramfs Signed-off-by: Ariadne Conill <ariadne@ariadne.space> * 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> * revert strip command usage, breaks arm Signed-off-by: Ariadne Conill <ariadne@ariadne.space> * build: use strip=symbols Signed-off-by: Ariadne Conill <ariadne@ariadne.space> --------- Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
This commit is contained in:
parent
6d07112e3d
commit
f8247f13e4
@ -116,3 +116,7 @@ features = ["tls"]
|
||||
[workspace.dependencies.uuid]
|
||||
version = "1.6.1"
|
||||
features = ["v4"]
|
||||
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
strip = "symbols"
|
||||
|
Loading…
Reference in New Issue
Block a user