From a0e980c19430d8ab998602f0d6bc6b4ebaadc6a4 Mon Sep 17 00:00:00 2001 From: Frank Denzer Date: Fri, 2 Jun 2023 14:47:20 +0200 Subject: [PATCH] add rust hello world --- hello_world/Cargo.toml | 8 ++++++++ hello_world/src/main.rs | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 hello_world/Cargo.toml create mode 100644 hello_world/src/main.rs diff --git a/hello_world/Cargo.toml b/hello_world/Cargo.toml new file mode 100644 index 0000000..624cb06 --- /dev/null +++ b/hello_world/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "hello_world" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/hello_world/src/main.rs b/hello_world/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/hello_world/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}