We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CARGO_CFG_TARGET_FAMILY
1 parent 9441b91 commit 2dc544eCopy full SHA for 2dc544e
src/doc/src/reference/environment-variables.md
@@ -342,7 +342,7 @@ let out_dir = env::var("OUT_DIR").unwrap();
342
those defined in `RUSTFLAGS`). Some examples of what these variables are:
343
* `CARGO_CFG_UNIX` --- Set on [unix-like platforms].
344
* `CARGO_CFG_WINDOWS` --- Set on [windows-like platforms].
345
- * `CARGO_CFG_TARGET_FAMILY=unix` --- The [target family].
+ * `CARGO_CFG_TARGET_FAMILY=unix,wasm` --- The [target family].
346
* `CARGO_CFG_TARGET_OS=macos` --- The [target operating system].
347
* `CARGO_CFG_TARGET_ARCH=x86_64` --- The CPU [target architecture].
348
* `CARGO_CFG_TARGET_VENDOR=apple` --- The [target vendor].
0 commit comments