about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-08-18 15:03:11 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-08-18 15:03:11 -0400
commit945603c85bb3acf451de7ef1c9b2eb658644af2c (patch)
tree033506ab1298e5551c56e3c03793964c8681ecb2 /src
parent572526be2742e368cd522709eccd35df6428fd64 (diff)
parent288edec968441254d42b38ec3d8dec76767f0f24 (diff)
downloadrust-945603c85bb3acf451de7ef1c9b2eb658644af2c.tar.gz
rust-945603c85bb3acf451de7ef1c9b2eb658644af2c.zip
Rollup merge of #27883 - steveklabnik:gh27587, r=alexcrichton
Fixes #27587
Diffstat (limited to 'src')
-rw-r--r--src/doc/reference.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 4d5564d9faf..b4dec8f1fef 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2059,6 +2059,11 @@ The following configurations must be defined by the implementation:
   `"mips"`, `"powerpc"`, `"arm"`, or `"aarch64"`.
 * `target_endian = "..."`. Endianness of the target CPU, either `"little"` or
   `"big"`.
+* `target_env = ".."` - an option provided by the compiler by default
+  describing the runtime environment of the target platform. Some examples of
+  this are `musl` for builds targeting the MUSL libc implementation, `msvc` for
+  Windows builds targeting MSVC, and `gnu` frequently the rest of the time. This
+  option may also be blank on some platforms.
 * `target_family = "..."`. Operating system family of the target, e. g.
   `"unix"` or `"windows"`. The value of this configuration option is defined
   as a configuration itself, like `unix` or `windows`.