Shared libraries
Shared libraries
Posted Nov 25, 2025 14:39 UTC (Tue) by farnz (subscriber, #17727)In reply to: Shared libraries by gspr
Parent article: APT Rust requirement raises questions
The problem comes with updates. If you update (say) ripgrep to fix a bug, and it uses a new monomorphization, that new monomorphization can rely on a new monomorphization inside a library package, and so on.
You end up with the same problem as the rebuild problem, since you cannot determine ahead of time that no bug fixes will involve a new monomorphization. You will probably reduce the number of total rebuilds you need, but if you're unlucky, you won't.
