rustc:rustc -o program program.rs
rustc regexredux-test.rs -L ~/Rust/simplify-tags/target/debug/deps
man rustccargocargo new program --bin
cargo build [--release]
cargo run
Cargo.toml[package] name = "guessing_game" version = "0.1.0" authors = ["skoumal"] [dependencies] rand = "0.4.0"
main.rsextern crate rand; use std::io; use rand::Rng;
fn main() {
}
*.rlib.git
src
target
+-debug // zkompilovaný program
+-.fingerprint
+-build
+-deps // knihovny
+-examples
+-incremental
+-native
+-release // zkompilovaný optimalizovaný program
+-.fingerprint
+-build
+-deps // knihovny
+-examples
+-incremental
+-native