Skip to content

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.

1 participant