# Passes `-C codegen-units`. Ignored when `lto = true`.
panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort'
incremental = true # whether or not incremental compilation is enabled
+overflow-checks = true # use overflow checks for integer arithmetic.
+ # Passes the `-C overflow-checks=...` flag to the compiler.
# The release profile, used for `cargo build --release`.
[profile.release]
codegen-units = 1
panic = 'unwind'
incremental = false
+overflow-checks = false
# The testing profile, used for `cargo test`.
[profile.test]
codegen-units = 1
panic = 'unwind'
incremental = true
+overflow-checks = true
# The benchmarking profile, used for `cargo bench` and `cargo test --release`.
[profile.bench]
codegen-units = 1
panic = 'unwind'
incremental = false
+overflow-checks = false
# The documentation profile, used for `cargo doc`.
[profile.doc]
codegen-units = 1
panic = 'unwind'
incremental = true
+overflow-checks = true
```
### The `[features]` section
You can run individual executable examples with the command `cargo run --example
<example-name>`.
-Specify `crate-type` to make an example be compiled as a library (additional
-information about crate types is available in
+Specify `crate-type` to make an example be compiled as a library (additional
+information about crate types is available in
[the Cargo reference](https://doc.rust-lang.org/reference/linkage.html)):
```toml