Elektrine lite

← Feed

@Ferk@lemmy.ml

2026-10-26 10:41 UTC

If you use a Makefile, then you are not doing it manually, you are using a tool to automate it.

Replies (2)

  • @thingsiplay@lemmy.ml 2026-10-26 10:46

    But that was not MY point at all. My point is to avoid Cargo, the registry and external dependencies from cratesio. The makefile just uses standard Linux make command. It was just an example to automate this (it could have been a simple Bash script too), but the point is it can be done manually. In this example and even in more useful ones, it can be just a simple rustc invocation.

    Open ##5254446

  • @thingsiplay@lemmy.ml 2026-10-26 10:49

    “nobody” means: those who have big projects with multiple .rs files but no Makefile, no cargo.toml, no build.sh, nothing, only the .rs files. Can you point to a project that does that? That’s the point. We don’t have default rustc on all machines and repositories. In example in Archlinux repositories there is not package rustc only and its standard libraries to install. That’s why most people don’t do it. You can’t fault the missing projects are missing, because the infrastructure is not there yet.

    Open ##5254474