summaryrefslogtreecommitdiffstats
path: root/software/rust.page
blob: 404f8b9c0b2e25647c5af319b088491faea1c43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Rust
==================

## Resources

- [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