- Learning
fundamentals
andbasics
of Rust by referring to the documentation "Rust by example
"
maintained by the rust community @ https://www.rust-lang.org/learn. - This repository is a collection of
Rust
code snippets, templates & tests implemented from the docRust by Example
. - Documentaion link : https://doc.rust-lang.org/rust-by-example.
docker build -t rust -f Envs/rust.Dockerfile Envs
Building the image may take 5 to 15 mins. This is done only for the first time.
For windows cmd
docker run --rm -d -t --name=rust -v %cd%:/home/mount rust
For Mac terminal OR windows powershell
docker run --rm -d -t --name=rust -v ${PWD}:/home/mount rust
For linux terminal
docker run --rm -d -t --name=rust -v $(pwd):/home/mount rust
docker exec -ti rust bash
ls
cd Arrays
cd two_sum
node two_sum.js
docker stop rust