Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hansvm
· 4y ago · 0 comments
By default I think rust links libc and produces a dynamically linked executable. If you run strace I bet you'll find it's doing a ton of syscalls related to searching for and loading dynamic assets.
Comments
[–]
staticassertion
4y ago
Rust produces primarily
static
executables, with the exception of libc usually being dynamically loaded.
[–]
IshKebab
4y ago
That's what he said isn't it?
[–]
staticassertion
4y ago
> and produces a dynamically linked executable
[–]
IshKebab
4y ago
It does. You can't have a static executable that dynamically links with glibc.