summaryrefslogtreecommitdiff
path: root/rust/kboom
diff options
context:
space:
mode:
authorCarlos Maiolino <[email protected]>2025-07-10 22:24:20 +0200
committerCarlos Maiolino <[email protected]>2025-07-10 22:24:20 +0200
commit869e68986aa8f69af6e7842260a68d1e5c6f796f (patch)
tree63b6b5ffc3d19414233d4629a533c0d9bf3cbf72 /rust/kboom
parent20834dcc57537cd95260a4a22f5d91a027adfd35 (diff)
Add a bunch of code
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'rust/kboom')
-rw-r--r--rust/kboom/Cargo.lock7
-rw-r--r--rust/kboom/Cargo.toml8
-rw-r--r--rust/kboom/src/main.rs9
3 files changed, 24 insertions, 0 deletions
diff --git a/rust/kboom/Cargo.lock b/rust/kboom/Cargo.lock
new file mode 100644
index 0000000..0148ef8
--- /dev/null
+++ b/rust/kboom/Cargo.lock
@@ -0,0 +1,7 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "kboom"
+version = "0.1.0"
diff --git a/rust/kboom/Cargo.toml b/rust/kboom/Cargo.toml
new file mode 100644
index 0000000..8a88b48
--- /dev/null
+++ b/rust/kboom/Cargo.toml
@@ -0,0 +1,8 @@
+[package]
+name = "kboom"
+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/rust/kboom/src/main.rs b/rust/kboom/src/main.rs
new file mode 100644
index 0000000..1cb2765
--- /dev/null
+++ b/rust/kboom/src/main.rs
@@ -0,0 +1,9 @@
+fn main() {
+
+ let mut x:u8 = 10;
+ let i = 10;
+ loop {
+ x += i;
+ println!("Hello, world {x}");
+ }
+}