Hello Rustaceans! I have just started the language, meaning hello world. I am having trouble with my command prompt and cannot run my code in it. I have the command prompt directories destination set to the folder that holds my main.rs file. When I write rustc main.rs, it states that it is not recognized as an operatable program or a batch file. I have my file named main.rs, any idea what could be going wrong? Thank you!
Did you just install Rust? You may need to open a new command prompt to pick up the new environment variables. Note: opening a new tab in Windows Terminal is not sufficient.
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.