From 288edec968441254d42b38ec3d8dec76767f0f24 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 18 Aug 2015 13:45:01 -0400 Subject: [PATCH] add cfg(target_env) to the reference Fixes #27587 --- src/doc/reference.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/doc/reference.md b/src/doc/reference.md index 4d5564d9fafb0..b4dec8f1fef90 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`.