flowchart LR
A(Python) --> B[fname.py file]
B --> C[python fname.py]
C --> D{hello world}
E(Rust) --> F[fname.rs file]
F --> G[rustc fname.rs]
G --> H[./fname]
H --> I{hello world}
main.rs
- Cargo creates projects with a default main file.
- The name “main” is basically mainful to Cargo - it says which, if multiple,
.rsfiles to read first when trying to execute the code in a package.- Make sure you understand that sentence.