Hacker News new | ask | show | jobs
by scns 2069 days ago
Yes it can when you use musl instead of glibc
1 comments

Thanks! Where can I read more about that? I looked at musl's website, but didn't see any mention of standalone binaries on the page comparing it to glibc. [0]

[0]: https://wiki.musl-libc.org/functional-differences-from-glibc...

This is more of a Rust quirk[1] than a glibc/musl thing. Glibc can be used statically (though it's not really recommended -- hence why Rust doesn't support it and requires you to use musl instead).

[1]: https://doc.rust-lang.org/edition-guide/rust-2018/platform-a...