rnestler / reboot-arch-btw

Checks if your ArchLinux needs a reboot due to a kernel update
GNU General Public License v3.0
26 stars 4 forks source link

Fix: Set `alpm` version to any (*) and update to 3.0.5 #169

Closed WuuBoLin closed 8 months ago

WuuBoLin commented 8 months ago

Pacman version v6.1.0 has been released with libalpm v14.0.0, the alpm-rs library has also been updated to version 3.

I also added settings for release profile to minimize binary size.

rnestler commented 8 months ago

Ah sorry, I didn't see the PR until I already created and merged #170 which updates alpm to 3.0.

I also added settings for release profile to minimize binary size.

Any specific reason for that? I mean sure 4.5MB is quite big for a rather small utility, but most of these options could also be supplied in the PKGBUILD, no? (strip for example)

WuuBoLin commented 8 months ago

Actually not really, but smaller the better ig? Thanks

rnestler commented 8 months ago

I just checked: If you want a smaller binary you can set RUSTFLAGS="-C opt-level=s" in /etc/makepkg.conf, which will result in a 3.5MB binary.