Skip to content

Commit 2dc544e

Browse files
committed
docs: Make it clear that CARGO_CFG_TARGET_FAMILY is multi-valued
1 parent 9441b91 commit 2dc544e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/environment-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ let out_dir = env::var("OUT_DIR").unwrap();
342342
those defined in `RUSTFLAGS`). Some examples of what these variables are:
343343
* `CARGO_CFG_UNIX` --- Set on [unix-like platforms].
344344
* `CARGO_CFG_WINDOWS` --- Set on [windows-like platforms].
345-
* `CARGO_CFG_TARGET_FAMILY=unix` --- The [target family].
345+
* `CARGO_CFG_TARGET_FAMILY=unix,wasm` --- The [target family].
346346
* `CARGO_CFG_TARGET_OS=macos` --- The [target operating system].
347347
* `CARGO_CFG_TARGET_ARCH=x86_64` --- The CPU [target architecture].
348348
* `CARGO_CFG_TARGET_VENDOR=apple` --- The [target vendor].

0 commit comments

Comments
 (0)