Initial multi-file sample rust project

master
Mahmoud Al-Qudsi 2018-05-26 13:33:02 -05:00
커밋 8a79052110
5개의 변경된 파일20개의 추가작업 그리고 0개의 파일을 삭제

2
.gitignore vendored

@ -0,0 +1,2 @@
/target
**/*.rs.bk

4
Cargo.lock generated

@ -0,0 +1,4 @@
[[package]]
name = "meson-rust"
version = "0.1.0"

@ -0,0 +1,6 @@
[package]
name = "meson-rust"
version = "0.1.0"
authors = ["Mahmoud Al-Qudsi <mqudsi@neosmart.net>"]
[dependencies]

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

@ -0,0 +1,5 @@
mod foo;
fn main() {
foo::bar();
}