Everyone loves hating on C. Can somebody point me at clear instructions for how to use Rust *without* Cargo and its 100s of deps? A *huge* virtue of C is not requiring an enormous ecosystem of 3rd party code to do anything, and not forcing the use of a specific build system.
-
Show this thread
-
Replying to @dnaltews @RichFelker
rustc --help should get you started. You can use make if you want… Cargo can compile #[no_std] projects, though.
1 reply 0 retweets 2 likes -
Replying to @pcwalton @RichFelker
Part of my disinterest in Cargo is a desire to have tight control over dependencies and where stuff comes from and zero desire to have a build system ever talk to anything over a network. I know "grab prebuilt packages from public repos" is the in thing, but it is not for me.
1 reply 4 retweets 10 likes
Cargo.lock and local registries address those two points. (BTW, Cargo downloads source, not binaries at the moment.) But it sounds like you’re dead-set against Cargo, so you can invoke rustc directly from Make. Cargo can print its rustc command lines if you use verbose.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.