Rust Terminal Frontend

Local Dev (Install):

git clone https://github.com/itsnitigya/rust-terminal-frontend
cd rust-terminal-frontend/src
yarn
yarn start 

Commands tested on Terminal:

ls
date
touch testing.txt

Rust code tested :

fn main() {
   println!(\"hello world \");
}
fn main() {
   let x = 10;
   println!(\"The value of x is: {}\", x);
}
fn main() {
   let mut x = 10;
   print!(\"The value of x is: {}\", x);
   x = 20;
   print!(\"The value of x is: {}\", x);
}

Terminal Connected with Container

Screenshot 2021-06-04 at 1 30 18 AM

Rust code execution

Screenshot 2021-06-04 at 3 56 48 AM

Code executed in Terminal ( same container where code is executed )

Screenshot 2021-06-04 at 4 11 45 AM

Error execution

Screenshot 2021-06-04 at 5 01 49 PM