Since all rust hello world tutorials usually start like this:
1 2 3 |
|
It’s unclear where to take command line arguments.
The solution:
1 2 3 4 5 6 |
|
This will give you a vector with strings where first string will be the app being run and the rest is the arguments provided.
rust-0.7