Elektrine lite

← Feed

@thingsiplay@lemmy.ml

2026-10-26 20:44 UTC

In fact, if anything, it’s easier to assume rustc is present than it is to assume cargo is present, because cargo needs rustc, but rustc does not need cargo No. Because if there was rustc+stdlib as a package to install, then we could make the argument. But if Cargo is the only package available with rustc, then there is no point in making this argument. In most distributions there aren’t rustc+stdlib only package. then it would make more sense to assume rustc (which has to be installed to have cargo anyway) The point is, not having Cargo and all the other rest of the systems to install when installing rustc. Sorry, but am I talking Chinese? (and yes, I get impatient.) I think the g++ comparison doesn’t hold here, because it’s not the only way of using the language. I’m not sure what do you even mean by that… I explained it following that quote. I’m trying. You bring g++ as an argument why its not widespread adopted. Because g++ is not the only alternative to something like a package manager like Cargo. Nobody “needs” g++. There are many ways of compiling Cpp, even without using a package manager. So nobody has to use g++ to avoid something like Cargo and all the other stuff.

Replies (1)

  • @Ferk@lemmy.ml 2026-10-26 21:00

    But if Cargo is the only package available with rustc The package is actually called “rust”, “rust” is the only package available with rustc (and cargo): archlinux.org/packages/extra/x86_64/rust/files/ Then we can’t make the argument I absolutely can make the argument I made. The argument was that you need to have rustc to use cargo, because cargo uses rustc, and this means that assuming rustc exists is a lot safer than assuming that cargo exists… because if cargo is installed then it follows that rustc must be installed too. And this is true in all distros, not specific to Archlinux, which is why it’s a more universal assumption than yours. There are many ways of compiling Cpp, even without using a package manager There are many ways of using rustc too. Cargo the officially recommended method, so naturally is very popular. I still don’t think the packaging in archlinux should be attributed the merit of the popularity of cargo…

    Open ##5260924