first programm in rust

This commit is contained in:
Clara Benedicta Maria Müller 2017-04-12 15:54:46 +02:00
commit 9c6b9bb42f
10 changed files with 25 additions and 0 deletions

4
Cargo.lock generated Executable file
View file

@ -0,0 +1,4 @@
[root]
name = "hello_world"
version = "0.0.1"

9
Cargo.toml Executable file
View file

@ -0,0 +1,9 @@
[package]
name = "hello_world"
version = "0.0.1"
authors = [ "Clara Benedicta Maria Mueller <clara.mueller@vilera.de>" ]
[[bin]]
name = "test"
path = "/media/win_e/Clara_Daten/etc/Programmierung/Rust/src/test.rs"

0
target/debug/.cargo-lock Executable file
View file

View file

@ -0,0 +1 @@
55aca33b8be45a9e

View file

@ -0,0 +1 @@
{"rustc":9749998217168482212,"target":10994546209011070589,"profile":14528549471338536373,"local":{"variant":"MtimeBased","fields":[[1492003710,242703700],[47,109,101,100,105,97,47,119,105,110,95,101,47,67,108,97,114,97,95,68,97,116,101,110,47,101,116,99,47,80,114,111,103,114,97,109,109,105,101,114,117,110,103,47,82,117,115,116,47,115,114,99,47,116,97,114,103,101,116,47,100,101,98,117,103,47,46,102,105,110,103,101,114,112,114,105,110,116,47,104,101,108,108,111,95,119,111,114,108,100,45,57,52,51,56,49,55,100,52,54,99,48,52,52,53,53,56,47,100,101,112,45,98,105,110,45,116,101,115,116,45,57,52,51,56,49,55,100,52,54,99,48,52,52,53,53,56]]},"features":"None","deps":[],"rustflags":[]}

Binary file not shown.

BIN
target/debug/test Executable file

Binary file not shown.

1
target/debug/test.d Executable file
View file

@ -0,0 +1 @@
/media/win_e/Clara_Daten/etc/Programmierung/Rust/src/target/debug/test: /media/win_e/Clara_Daten/etc/Programmierung/Rust/src/test.rs

9
test.rs Executable file
View file

@ -0,0 +1,9 @@
// my first rust programm
// aka "rust playground"
// main function
fn main() {
println!("Hello world!"); //print to console -> important: here not a tab, but 4 spaces!
}