aboutsummaryrefslogtreecommitdiffstats
path: root/Rust
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2024-01-23 14:05:13 -0500
committeralyx <alyx@aleteoryx.me>2024-01-23 14:05:13 -0500
commit829d4ebb3c894fe2c8a49bff9d658ecac9f64de0 (patch)
treeeb5c74b5b0b83cd555eab7f80be25a84c1c3bb2b /Rust
parent0232d607c48c85e1a104393f91254801734edf1c (diff)
downloadomnihello-master.tar.gz
omnihello-master.tar.bz2
omnihello-master.zip
JS,PHP,PY,RSHEADmaster
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"