diff --git a/rust/helloworld.rs b/rust/helloworld.rs index f084790..b97865e 100644 --- a/rust/helloworld.rs +++ b/rust/helloworld.rs @@ -1,3 +1,4 @@ +//compiles and runs successfully fn main() { println!("Hello World!"); } \ No newline at end of file diff --git a/rust/test.sh b/rust/test.sh new file mode 100755 index 0000000..c9e266a --- /dev/null +++ b/rust/test.sh @@ -0,0 +1,3 @@ +#!/bin/bash +rustc helloworld.rs -o helloworld +./helloworld \ No newline at end of file