-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentationC-bugCategory: bugCategory: bug
Description
Problem
Steps
- Visit Profiles page in the Cargo Book
- Search for the word "example"
- Observe there is no detail regarding the profiles used to build examples.
Possible Solution(s)
Add details to the effect:
cargo build --example x
will be--debug
by default.- Pass the
--release
option if you need the release profile used. - Document whether examples can be built under any of the other profiles?
Notes
Output of cargo version
:
$ cargo --version
cargo 1.56.0-nightly (cc17afbb0 2021-08-02)
Metadata
Metadata
Assignees
Labels
A-documenting-cargo-itselfArea: Cargo's documentationArea: Cargo's documentationC-bugCategory: bugCategory: bug