mikedilger on Nostr: I got this wrong about .rlib. `cdylib` creates system libraries already (.so, .dylib, ...
I got this wrong about .rlib. `cdylib` creates system libraries already (.so, .dylib, or .dll). System-shipped libraries are always the wrong version though. This is what I was talking about here:
quoting nevent1q…znvmAll of the libraries in /usr/lib should never break userspace. That way I can run a 10 year old binary and it will just work. Because the old ABIs will all still be there in the newest libraries.
Binaries should be compiled for fairly old library APIs so that they work on pretty old installations right up to current ones.
Linux does this in the kernel. If only the libraries did it, linux would be installed on most desktop computers.