diff options
| -rw-r--r-- | Cargo.lock | 7 | ||||
| -rw-r--r-- | Cargo.toml | 6 | ||||
| -rw-r--r-- | main.c | 5 | ||||
| -rw-r--r-- | src/main.rs | 3 |
4 files changed, 16 insertions, 5 deletions
diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..c7b14b1 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "shiro" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..bbe154d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "shiro" +version = "0.1.0" +edition = "2024" + +[dependencies] @@ -1,5 +0,0 @@ -#include <stdio.h> - -int main() { - printf("Hello World!"); -} diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} |
