add helloworld-rs

This commit is contained in:
Simon From Jakobsen 2024-08-02 13:15:03 +00:00
commit ceffdfb561
5 changed files with 29 additions and 0 deletions

2
helloworld-rs/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
target/

7
helloworld-rs/Cargo.lock generated Normal file
View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "helloworld-rs"
version = "0.1.0"

6
helloworld-rs/Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "helloworld-rs"
version = "0.1.0"
edition = "2021"
[dependencies]

11
helloworld-rs/README.md Normal file
View File

@ -0,0 +1,11 @@
# helloworld-rs
```sh
cargo run
```
```sh
cargo build --release
./target/release/helloworld-rs
``´

View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}