Hacker News new | past | comments | ask | show | jobs | submit login

At one point docker was the only way to do this, I think. So if you start searching the internet for how to do static linking with musl you're very likely to find links to the docker'd approach.



I don't think docker has ever been the only way to do this, but it is a popular one. It helps when you go beyond pure Rust.


Maybe not the only way, but it was the easiest and most widely recommended way when I was figuring out how to do musl builds around 2 years ago.


Huh, I've just been pointing people to https://blog.rust-lang.org/2015/04/24/Rust-Once-Run-Everywhe... for the last five years. Maybe someone was recommending Docker a lot and I just missed it.


Maybe it's the more niche use case of deploying to AWS Lambda before custom runtimes.


Edit: I mistook the child comment of my comment as one from steveklabnik. Sorry, was not sarcastically calling you a Rust core developer :-). He really is one, see his profile.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: