Orhun Parmaksız pushed to branch main at Arch Linux / Packaging / Packages / 
rustnet


Commits:
96a55ba9 by DeepChirp at 2026-05-19T19:45:29+08:00
chore: change lto option

Signed-off-by: DeepChirp <[email protected]>

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -37,9 +37,9 @@ build() {
     export RUSTFLAGS="-Clinker=$CC -Clink-arg=-fuse-ld=${_LD_LLD}"
     export RUSTDOCFLAGS="$RUSTFLAGS"
 
-    export CARGO_PROFILE_RELEASE_LTO=thin
+    export CARGO_PROFILE_RELEASE_LTO=true
     export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-    CFLAGS='-flto=auto' cargo build --frozen --release --all-features
+    cargo build --frozen --release --all-features
 }
 
 check() {
@@ -54,9 +54,9 @@ check() {
     export RUSTFLAGS="-Clinker=$CC -Clink-arg=-fuse-ld=${_LD_LLD}"
     export RUSTDOCFLAGS="$RUSTFLAGS"
 
-    export CARGO_PROFILE_RELEASE_LTO=thin
+    export CARGO_PROFILE_RELEASE_LTO=true
     export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
-    CFLAGS='-flto=auto' cargo test --frozen --release --all-features
+    cargo test --frozen --release --all-features
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rustnet/-/commit/96a55ba9c430f891b9123d8c08c2719453983d11

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rustnet/-/commit/96a55ba9c430f891b9123d8c08c2719453983d11
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to