Tested Rust

This commit is contained in:
ilsix 2024-04-04 22:21:21 +02:00
parent a4bdc9cb39
commit b7afa9bdee
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
//compiles and runs successfully
fn main() { fn main() {
println!("Hello World!"); println!("Hello World!");
} }

3
rust/test.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
rustc helloworld.rs -o helloworld
./helloworld