Skip to content

Rust "Hello World" template project in VSCode. Allows debugging and building rust files in Visual Studio Code.

License

Notifications You must be signed in to change notification settings

ThoenigAdrian/vscode_rust_hello_world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World in Rust for Visual Studio Code

Install

  1. Install VSCode Extensions: Windows Compiler Stuff , MAC/Linux Compiler Stuff , Rust Extension
  2. Download and install cargo
  3. Restart VSCode

Run

  1. Smash that F5 Button
Hello World!

Optional

Delete "(OSX) Launch" or "(Windows) Launch" from tasks.json if you don't need it.

Sources

Thx to:

  1. https://www.forrestthewoods.com/blog/how-to-debug-rust-with-visual-studio-code/
  2. https://github.com/hid2/rust-hello-world-debug
  3. https://www.reddit.com/r/rust/comments/f1qsx9/debugging_rust_in_vscode_in_2020/

Disclaimer

Links provided seemed fine at the time i checked them. However I do not provide any guarantees about the safety of the provided links as of now and especially in the future. Only tested on Windows if there are issues with Mac/Linux and you know the solution please let me know. Then i will fix this.

About

Rust "Hello World" template project in VSCode. Allows debugging and building rust files in Visual Studio Code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages