this post was submitted on 02 Apr 2026
170 points (99.4% liked)

Programming

27709 readers
228 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] TehPers@beehaw.org 7 points 3 months ago (2 children)

You can run rustc directly! You just need to pass about 30 different parameters to it as well as a list of all the dependencies you use and...

Look, it works for small projects.

[–] MonkderVierte@lemmy.zip 4 points 3 months ago (1 children)

So i could theoretically script a wrapper?

[–] TehPers@beehaw.org 6 points 3 months ago

I don't see why not. Cargo is fundamentally just a fancy wrapper around rustc, anyway. Sure, it's a really fancy wrapper that does a lot of stuff but it's entirely possible to just call rustc yourself.

[–] FizzyOrange@programming.dev 1 points 3 months ago

The only reason to do this is if you're directly integrated Rust into an existing build system (e.g. Bazel). It's not going to help with this problem at all.