How can I run my rust file?

Answered

 

I want to run my Rust file.

 

I right clicked and try to find run but I can't

 

How can I run this file?

0
2 comments
Official comment

Please at first create a run configuration in Run | Edit configurations.

See also https://intellij-rust.github.io/docs/quick-start.html. Make sure the file is in the source directory (marked in blue). Create a new run/debug configuration of the Rust type, see https://www.jetbrains.com/help/idea/creating-and-editing-run-debug-configurations.html.

0

Please sign in to leave a comment.