Skip to content

Conversation

@lucatrv
Copy link

@lucatrv lucatrv commented Aug 30, 2018

@formulahendry
Copy link
Owner

Hi @lucatrv , thanks for your contribution. I am not familiar with Rust. Just want to confirm is cargo more widely used than rustc?

@lucatrv
Copy link
Author

lucatrv commented Jan 16, 2019

cargo is Rust’s build system and package manager, while rustc is the compiler. You may use rustc directly to compile a single file, but developers definitely use cargo to build their projects.

See for instance:
https://www.rust-lang.org/learn/get-started
https://doc.rust-lang.org/book/ch01-03-hello-cargo.html

@danielrab
Copy link

oh, there already was a PR open for this, oops. I opened another without checking #977

@laundmo
Copy link

laundmo commented Aug 26, 2024

@formulahendry Just had someone learning Rust get perplexed why nothing worked. The issue was caused by what this PR would solve. cargo is definitely the de-facto standard way to run Rust projects, with only a few special cases with complex setups (like the linux kernel or cross-language projects) using something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants