March 2018
Intermediate to advanced
272 pages
7h 4m
English
The first option is the one mentioned before, the optimization level. This configuration option can be set by using the opt-level key in the relevant profile section. By default, optimizations will be level 3 for benchmarking and release, and zero for the rest. For example, to only perform level 2 optimizations in the release profile, you can add this code to your Cargo.toml file:
[profile.release] opt-level = 2
Read now
Unlock full access