From b7afa9bdee9c6c4b9499edc25e937622818531d5 Mon Sep 17 00:00:00 2001 From: ilsix Date: Thu, 4 Apr 2024 22:21:21 +0200 Subject: [PATCH] Tested Rust --- rust/helloworld.rs | 1 + rust/test.sh | 3 +++ 2 files changed, 4 insertions(+) create mode 100755 rust/test.sh 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