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

CARGO_LOG is not documented in cargo reference #10947

Closed
rfjakob opened this issue Aug 7, 2022 · 1 comment · Fixed by #10967
Closed

CARGO_LOG is not documented in cargo reference #10947

rfjakob opened this issue Aug 7, 2022 · 1 comment · Fixed by #10967
Labels
A-documenting-cargo-itself Area: Cargo's documentation A-environment-variables Area: environment variables C-bug Category: bug

Comments

@rfjakob
Copy link

rfjakob commented Aug 7, 2022

Problem

The environment variable CARGO_LOG exists, is talked about (example: https://stackoverflow.com/questions/70174147/how-do-i-make-cargo-show-what-files-are-causing-a-rebuild/70174212#70174212 ) and changes cargo's behavoir.

But is not listed on

Steps

No response

Possible Solution(s)

Add it to https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-reads

Notes

No response

Version

https://github.com/rust-lang/cargo/blob/e6827eee9b6720a1bd69c6115cac22f8125b24aa/src/doc/src/reference/environment-variables.md
@rfjakob rfjakob added the C-bug Category: bug label Aug 7, 2022
@weihanglo
Copy link
Member

Thanks for the report! We do have CARGO_LOG documented in Cargo contributor guide. It's more like an internal debugging variable but might be worth mentioning in general user guide. Need some word tweaks tho.

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 A-environment-variables Area: environment variables C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants