first version for blog

This commit is contained in:
2022-06-16 16:45:30 +01:00
parent 9b41b7ce44
commit 7e9e16690e
14 changed files with 79 additions and 811 deletions

7
stack-program/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 = "stack-program"
version = "0.1.0"

4
stack-program/Cargo.toml Normal file
View File

@ -0,0 +1,4 @@
[package]
name = "stack-program"
version = "0.1.0"
edition = "2021"

View File

@ -0,0 +1,9 @@
fn add_ten(a: u8) -> u8 {
let b = 10;
a + b
}
fn main() {
println!("{}", add_ten(9));
}