summaryrefslogtreecommitdiffstats
path: root/software/rust.page
diff options
context:
space:
mode:
Diffstat (limited to 'software/rust.page')
-rw-r--r--software/rust.page18
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