diff options
author | Bryan Newbold <bnewbold@archive.org> | 2017-11-21 15:55:05 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2017-11-21 16:07:17 -0800 |
commit | c559989f75eeae3e405440502b311552c02d0ee9 (patch) | |
tree | 5de861cdd7bc62b367261f4f42afcff2d66c4fbf | |
parent | d68d3f3922403045dc3b19cd0d58d76297d3ef46 (diff) | |
download | knowledge-c559989f75eeae3e405440502b311552c02d0ee9.tar.gz knowledge-c559989f75eeae3e405440502b311552c02d0ee9.zip |
add rust page
-rw-r--r-- | software/rust.page | 18 |
1 files changed, 16 insertions, 2 deletions
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 |