aboutsummaryrefslogtreecommitdiffstats
path: root/Rust
diff options
context:
space:
mode:
Diffstat (limited to 'Rust')
-rw-r--r--Rust/hello.rs3
-rw-r--r--Rust/run.toml1
2 files changed, 4 insertions, 0 deletions
diff --git a/Rust/hello.rs b/Rust/hello.rs
new file mode 100644
index 0000000..21e1c4e
--- /dev/null
+++ b/Rust/hello.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("Hello, World!");
+}
diff --git a/Rust/run.toml b/Rust/run.toml
new file mode 100644
index 0000000..614d824
--- /dev/null
+++ b/Rust/run.toml
@@ -0,0 +1 @@
+hello="rustc hello.rs -o hello; ./hello"