Running rust application in eclipse RustDT


#1

Hi,

I am a beginner to Rust programming, I did set up the RustDT in eclipse as mentioned in here.

Everything is installed but I am unable to launch/run the application. In the User guide above, there is details of ‘Run configurations’ to launch the testing of the application but ‘Cargo run’ is not possible. Moreover the executable generated is {Project}XXXXX, where XXXX are some random numbers.

Is there a way to run the application?

Thank you and regards,
Sanjay


#2

That’s something that Cargo itself does, those are intermediate files (and in some cases executables for the tests)

If you expand “Build Targets” and open the context menu, there will be a menu option to automatically create a launch configuration for that target