Skip to content

Commit 17fc632

Browse files
hswong3ikeszybz
authored andcommitted
Cargo.toml: lto = "thin"
Refer to <nabijaczleweli/systemd-zram-generator.deb@8f2f3fa>, building package on Debian 10+ and Ubuntu 20.04+ will fail with `lto = true`. Moreover, tested with <https://build.opensuse.org/package/show/home:alvistack:systemd/zram-generator>, `lto = "thin"` working well for all support OS, including CentOS/Fedora/Debian/Ubuntu/openSUSE. Signed-off-by: Wong Hoi Sing Edison <[email protected]>
1 parent 7a6ae57 commit 17fc632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ tempfile = "3"
2323
fs_extra = "1.1"
2424

2525
[profile.release]
26-
lto = true
26+
lto = "thin"

0 commit comments

Comments
 (0)