Skip to content

Commit c7be060

Browse files
authored
docs(ref): Use better example value in CARGO_CFG_TARGET_ABI (#15404)
`target_abi = "sim"` may be deprecated in the future. See rust-lang/rust#139451.
2 parents 7987d4b + fb85203 commit c7be060

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
@@ -350,7 +350,7 @@ let out_dir = env::var("OUT_DIR").unwrap();
350350
* `CARGO_CFG_TARGET_ARCH=x86_64` --- The CPU [target architecture].
351351
* `CARGO_CFG_TARGET_VENDOR=apple` --- The [target vendor].
352352
* `CARGO_CFG_TARGET_ENV=gnu` --- The [target environment] ABI.
353-
* `CARGO_CFG_TARGET_ABI=sim` --- The [target ABI].
353+
* `CARGO_CFG_TARGET_ABI=eabihf` --- The [target ABI].
354354
* `CARGO_CFG_TARGET_POINTER_WIDTH=64` --- The CPU [pointer width].
355355
* `CARGO_CFG_TARGET_ENDIAN=little` --- The CPU [target endianness].
356356
* `CARGO_CFG_TARGET_FEATURE=mmx,sse` --- List of CPU [target features] enabled.

0 commit comments

Comments
 (0)