← Back to context

Comment by _sinelaw_

7 days ago

As it's statically linked I don't see a reason it shouldn't work in any much older Linux as well. But I haven't tried yet.

> statically linked

I'm not sure where you got this idea. The binary you distribute is dynamically linked:

> fresh: ELF 64-bit LSB pie executable, x86-64, [...], dynamically linked, [...]

and it links with libc, libm, and libgcc_s, which means the distro will matter, because GLIBC is not compatible that way.

How did you, after building this entire app, come to the conclusion that its statically linked? Rust apps typically aren't, by default.