Browse Source

a couple hello worlds

jmelesky 7 years ago
parent
commit
3be191ab1b
4 changed files with 13 additions and 0 deletions
  1. 6 0
      hello_cargo/Cargo.toml
  2. 3 0
      hello_cargo/src/main.rs
  3. BIN
      helloworld/main
  4. 4 0
      helloworld/main.rs

+ 6 - 0
hello_cargo/Cargo.toml

@@ -0,0 +1,6 @@
+[package]
+name = "hello_cargo"
+version = "0.1.0"
+authors = ["jmelesky"]
+
+[dependencies]

+ 3 - 0
hello_cargo/src/main.rs

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

BIN
helloworld/main


+ 4 - 0
helloworld/main.rs

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