Saturday, April 16, 2022

Rust on Windows with WSL2 and VS Code

Install Rust - Rust Programming Language

open WSL2 (i.e. Ubuntu) terminal

> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
> sudo apt-get update
> sudo apt install build-essential
> cargo new rust_test
> cargo run
> code .

No comments: