News for hackers. Stuff that matters.
Re:Swift Static Linux SDK by palata on Wednesday June 12, 2024 @08:42AM (#40657453)
In practice, it feels like everybody assumes that Rust is installed through Rustup and dependencies are statically linked from cargo. I have tried going the dynamic linking way, it's painful when it's not impossible.
Re:Swift Static Linux SDK by umanwizard on Wednesday June 12, 2024 @02:56PM (#40661634)
Regardless of what "everybody assumes", you can in fact build rust binaries without using rustup or cargo. Distros do this. Yes, it's more painful for end users than just typing `cargo build`, but that's irrelevant to distro maintainers.
Re:Swift Static Linux SDK by palata on Wednesday June 12, 2024 @05:39PM (#40663481)
Some software (e.g. IDEs) will call `rustup` for some reason (yep, it happened to me and I therefore couldn't use that software).

> Yes, it's more painful for end users than just typing `cargo build`

Cargo is fine, I don't mind installing cargo. I just don't want my packages to be handled by my package manager. I don't want every project to ship their own custom package manager like rustup.