Personal list of links to blog posts, articles, videos and notes for learning Rust
Scripts for optimized single file builds
brust.cmd (add to system PATH)
rustc -C opt-level=3 -C lto -C target-cpu=native %1
brust (place in /usr/local/bin/)
#!/bin/bash
rustc -C opt-level=3 -C lto -C target-cpu=native $1
Settings for optimized cargo builds
.cargo/config (place in project root)
[build]
rustflags = ["-C", "target-cpu=native", "-C", "opt-level=3"]
[term]
#verbose = true
cargo.toml
[profile.release]
lto = true
panic = 'abort'