Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct profile usage of cargo test --release #6345

Merged
merged 3 commits into from
Nov 27, 2018
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/doc/src/reference/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ 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`.
# The release profile, used for `cargo build --release` (and the dependencies for `cargo test --release`, including the local lib/bin).
dlaehnemann marked this conversation as resolved.
Show resolved Hide resolved
[profile.release]
opt-level = 3
debug = false
Expand All @@ -353,7 +353,7 @@ panic = 'unwind'
incremental = false
overflow-checks = false

# The testing profile, used for `cargo test`.
# The testing profile, used for `cargo test` (for `cargo test --release` see the `release` and `bench` profiles).
[profile.test]
opt-level = 0
debug = 2
Expand All @@ -365,7 +365,7 @@ panic = 'unwind'
incremental = true
overflow-checks = true

# The benchmarking profile, used for `cargo bench` and `cargo test --release`.
# The benchmarking profile, used for `cargo bench` (and the test targets and unit tests for `cargo test --release`).
[profile.bench]
opt-level = 3
debug = false
Expand Down