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

Full list of configuration options #5676

Closed
supermacro opened this issue Jul 2, 2018 · 5 comments
Closed

Full list of configuration options #5676

supermacro opened this issue Jul 2, 2018 · 5 comments
Labels
A-documenting-cargo-itself Area: Cargo's documentation

Comments

@supermacro
Copy link

In the rust book 2nd edition in chapter 14.1, the following is mentioned:

For the full list of configuration options and defaults for each profile, see Cargo’s documentation.

Which links to https://doc.rust-lang.org/cargo/

Even after looking through the table of contents on the left hand side, I was unable to find the "full list of configuration options". Is this an error on my part? Or is there really no full list of configuration options?

@alexcrichton
Copy link
Member

I believe it's this page -- https://doc.rust-lang.org/cargo/reference/config.html

@steveklabnik
Copy link
Member

steveklabnik commented Jul 3, 2018 via email

@supermacro
Copy link
Author

supermacro commented Jul 4, 2018

@alexcrichton I am new to Rust and can't say whether this is the right page that should be linked or not. However, I cross-referenced the textbook content from chapter 14.1 (which makes mention of the opt-level config option), with the content in the link you referenced. A quick "find" showed no results for opt-level ... so either that reference page needs to be extended or it may not be the right one!

@alexcrichton alexcrichton added the A-documenting-cargo-itself Area: Cargo's documentation label Jul 5, 2018
@ehuss
Copy link
Contributor

ehuss commented Jul 5, 2018

@gDelgado14 opt-level is part of the profile which is documented here: https://doc.rust-lang.org/cargo/reference/manifest.html#the-profile-sections

@ehuss
Copy link
Contributor

ehuss commented Dec 1, 2019

It looks like this was resolved by rust-lang/book#2066.

@ehuss ehuss closed this as completed Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation
Projects
None yet
Development

No branches or pull requests

4 participants