From c559989f75eeae3e405440502b311552c02d0ee9 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 21 Nov 2017 15:55:05 -0800 Subject: add rust page --- software/rust.page | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'software') diff --git a/software/rust.page b/software/rust.page index 4c50a36..404f8b9 100644 --- a/software/rust.page +++ b/software/rust.page @@ -1,6 +1,20 @@ Rust ================== -## Good Resources +## Resources -http://xion.io/post/code/rust-iter-patterns.html +- [http://xion.io/post/code/rust-iter-patterns.html]() +- [https://deterministic.space/rust-cli-tips.html]() + +Optimization: use `RUSTFLAGS="-C target-cpu=native"` to take advantage of CPU +special features. + +(via http://vfoley.xyz/rust-compilation-tip/) + +For local rust/std documentation, do `rustup doc`. + +## Little tricks + +Run tests with stdout output: + + cargo test -- --nocapture -- cgit v1.2.3