Section III - Creating an Executable
[[bin]]
name = "hello_world"
path = "src/bin/hello-world.rs"pub fn main() {
println!("Hello World");
}[user@localhost rust-daas]$ cargo run
Compiling rust-daas v0.1.0 (C:\workspace\rust-daas)
Finished dev [unoptimized + debuginfo] target(s) in 0.67s
Running `target\debug\hello_world.exe`
Hello World[user@localhost rust-daas]$ cd .\target\debug\
[user@localhost debug]$ ./hello_world
Hello WorldLast updated