Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change command for Rust to cargo run #977

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielrab
Copy link

Cargo is part of the default toolchain.
Using rustc directly will fail if there's any external packages used. Files other than main in a Rust project are usually not meant to be executed directly. Because of all of the above, running cargo run has a much higher chance to produce the desired result.

Cargo is part of the default toolchain.
Using rustc directly will fail if there's any external packages used.
Files other than main in a Rust project are usually not meant to be executed directly.
Because of all of the above, running `cargo run` has a much higher chance to produce the desired result.
@danielrab
Copy link
Author

forgot to check when making the PR and made a duplicate of #354

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.

None yet

1 participant