Create mkoverlay project

This commit is contained in:
2022-12-01 02:17:13 +01:00
parent ab03979c8e
commit eb025d3902
5 changed files with 27 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
[package]
name = "mkoverlay"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@@ -0,0 +1,14 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}

View File

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