-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Incorrect description of environment variables in rustc man pages #59504
Comments
I think "the output" should just be removed here - |
First, I do agree the phrase "the output of the compiler" is suboptimal, since it can be taken to mean the diagnostics emitted to stdout or other files it generates, while the original intent here (I think) is for the word "output" to denote the behavior of the binary generated by the compiler. Second, while saying "Some of these affect the compiler, ..." would be technically correct, I think it would be misleading. In particular, I personally would read the phase " How about:
(I'm actually not particularly wedded to that second sentence. I would not mind if it were omitted.) |
Thanks, @pnkfelix. Now that you point it out I realize that the problem with the problematic statement is not that it is wrong, so much as that it is entirely ambiguous and that when reading it it is easy to choose the wrong, that is unintended, meaning. Your suggested wording works for me. |
I think the extra note on the end is likely to make things more confusing. So keeping it to only the first part of your suggestion is the best I think!:
If you want I could create a PR for this? |
@DevQps I'ld be fine w/ that wording as well. |
@mulkieran I created a PR for you here! |
…criptions, r=GuillaumeGomez Updated the environment description in rustc. # Description - Updated the "environment" description in the `rustc` man pages The old wording suggested that all the mentioned flags influenced the output of the compiler, where this was not the case. closes rust-lang#59504
…criptions, r=GuillaumeGomez Updated the environment description in rustc. # Description - Updated the "environment" description in the `rustc` man pages The old wording suggested that all the mentioned flags influenced the output of the compiler, where this was not the case. closes rust-lang#59504
…criptions, r=GuillaumeGomez Updated the environment description in rustc. # Description - Updated the "environment" description in the `rustc` man pages The old wording suggested that all the mentioned flags influenced the output of the compiler, where this was not the case. closes rust-lang#59504
Here it is:
I believe that the line here is incorrect
"Some of these affect the output of the compiler, while others affect
programs which link to the standard library."
since I believe none of these variables affect the output of the compiler.
Why is this a problem? Well, the logical reader might say to themselves:
" "Some" means at least 1. It makes very little sense for the top three to affect the output of the compiler. Therefore it must be the bottom one, RUST_BACKTRACE, which affects the output of the compiler."
The text was updated successfully, but these errors were encountered: