Your terminal is currently in the
C:\Windows\system32 directory, but your
main.rs file is somewhere else, hence it fails. To change the current directory, you can use the
cd command, for example to go to your desktop:
You should first use it to go to the directory where you store the
main.rs file, and then you can compile the program.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.