Hacker News new | ask | show | jobs
by michaelmior 734 days ago
Rust executables generally compile to static binaries. No you don't need to install Rust on the server, just compile once locally and copy the binary.
1 comments

That is exactly the problem. Debian prefers the dynamic linking approach, where libraries can be updated individually. The problem usually comes down to having all the cargo dependencies packaged inside the debian repo. Which is doable, a similar thing happens for pip and other tools. But still kinda messy
I'm confused why that's a problem. Just because Debian prefers dynamic linking doesn't mean it's incapable of running static binaries.