about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-04-04 01:49:11 +0200
committerGitHub <noreply@github.com>2019-04-04 01:49:11 +0200
commitc87cce6fa4fa6f3a5f5808d534bc8081c762e715 (patch)
tree42356ade8a1c869227c36c758dea8cf06e2f0d59
parentb4686ca95885eb384b518bf8e4f0b44aef6fc4f7 (diff)
parent7e37b46d2098160f78cddd3ed51f6f57d438b58c (diff)
downloadrust-c87cce6fa4fa6f3a5f5808d534bc8081c762e715.tar.gz
rust-c87cce6fa4fa6f3a5f5808d534bc8081c762e715.zip
Rollup merge of #59666 - DevQps:update-rustc-environment-descriptions, 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 #59504
-rw-r--r--src/doc/man/rustc.14
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/man/rustc.1 b/src/doc/man/rustc.1
index 8f611063dbe..2faf0c2e3e1 100644
--- a/src/doc/man/rustc.1
+++ b/src/doc/man/rustc.1
@@ -265,8 +265,8 @@ Optimize with possible levels 0\[en]3
 
 .SH ENVIRONMENT
 
-Some of these affect the output of the compiler, while others affect programs
-which link to the standard library.
+Some of these affect only test harness programs (generated via rustc --test);
+others affect all programs which link to the Rust standard library.
 
 .TP
 \fBRUST_TEST_THREADS\fR