3 ms·
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 fi
by staticassertion 7y ago
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.
- steveklabnik 7y agoI 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.
- staticassertion 7y agoMaybe 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.
- steveklabnik 7y agoHuh, I've just been pointing people to https://blog.rust-lang.org/2015/04/24/Rust-Once-Run-Everywhere.html 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.
- staticassertion 7y agoMaybe it's the more niche use case of deploying to AWS Lambda before custom runtimes.
- manifoldgeo 7y agoEdit: 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.