▲ | mtndew4brkfst 4 days ago | |
That's not intrinsically or pervasively true, although it's not uncommon. | ||
▲ | 3836293648 4 days ago | parent | next [-] | |
The only way to avoid it is to be on linux with no_std, use musl statically or be on embedded. You cannot (or at least are supposed to not be able to) link to glibc statically and on every other OS you can only call syscalls via the system libraries. (Well, technically you can on most systems, it's just not stable across updates. OpenBSD will actively block it though) | ||
▲ | wahern 4 days ago | parent | prev [-] | |
Unless the majority of Rust builds on Linux statically link musl libc or use no_std, then it's pervasively true. And it's true on most non-Linux targets, including the BSDs and macOS. It's the same situation with Go. |