Organized Rust project in library & binary

This commit is contained in:
Jef Roosens 2021-08-18 22:06:37 +02:00
parent 3415ce7329
commit 48fdc460ad
Signed by untrusted user: Jef Roosens
GPG key ID: 955C0660072F691F
22 changed files with 68 additions and 60 deletions

View file

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

3
src/rb/lib.rs Normal file
View file

@ -0,0 +1,3 @@
pub fn yeet() -> String {
String::from("yeet")
}

5
src/rbs/main.rs Normal file
View file

@ -0,0 +1,5 @@
use rb::yeet;
fn main() {
println!("{}", yeet());
}