File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ incremental = true # whether or not incremental compilation is enabled
341
341
overflow-checks = true # use overflow checks for integer arithmetic.
342
342
# Passes the `-C overflow-checks=...` flag to the compiler.
343
343
344
- # The release profile, used for `cargo build --release` and `cargo test --release`.
344
+ # The release profile, used for `cargo build --release` ( and the dependencies for `cargo test --release`, including the local lib/bin) .
345
345
[profile .release ]
346
346
opt-level = 3
347
347
debug = false
@@ -353,7 +353,7 @@ panic = 'unwind'
353
353
incremental = false
354
354
overflow-checks = false
355
355
356
- # The testing profile, used for `cargo test`.
356
+ # The testing profile, used for `cargo test` (for `cargo test --release` see the `release` and `bench` profiles) .
357
357
[profile .test ]
358
358
opt-level = 0
359
359
debug = 2
@@ -365,7 +365,7 @@ panic = 'unwind'
365
365
incremental = true
366
366
overflow-checks = true
367
367
368
- # The benchmarking profile, used for `cargo bench`.
368
+ # The benchmarking profile, used for `cargo bench` (and the test targets and unit tests for `cargo test --release`) .
369
369
[profile .bench ]
370
370
opt-level = 3
371
371
debug = false
You can’t perform that action at this time.
0 commit comments