Shrinking the kernel with a hammer
Shrinking the kernel with a hammer
Posted Mar 10, 2018 8:13 UTC (Sat) by jdub (guest, #27)In reply to: Shrinking the kernel with a hammer by fratti
Parent article: Shrinking the kernel with a hammer
Hrm, no, practically all Rust Linux binaries dynamically link to glibc by default (and by design), and you can easily dynamically link to C ABI shared libraries. If you want to build a static executable, you have to go out of your way to use the musl target.
There's nothing "unsafe" about dynamic linking, just the challenge of safety across C ABI boundaries (which exists for statically linked code as well) and the lack of a stable Rust ABI (which is pretty reasonable).
