Skip to content

Commit a81773b

Browse files
committed
Add target_env = "macabi" and target_env = "sim"
Replaces `target_abi` variants. The old variants are still available, but may be deprecated in the future.
1 parent bbe4b18 commit a81773b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/conditional-compilation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,17 +196,19 @@ Example values:
196196
* `"msvc"`
197197
* `"musl"`
198198
* `"sgx"`
199+
* `"sim"`
200+
* `"macabi"`
199201

200202
r[cfg.target_abi]
201203
### `target_abi`
202204

203205
r[cfg.target_abi.general]
204-
Key-value option set to further disambiguate the `target_env` with information
205-
about the target ABI.
206+
Key-value option set to further disambiguate the `target_env` or `target_arch`
207+
with information about the target ABI.
206208

207209
r[cfg.target_abi.disambiguation]
208210
For historical reasons, this value is only defined as not the empty-string when actually
209-
needed for disambiguation. Thus, for example, on many GNU platforms, this value will be
211+
needed for disambiguation. Thus, for example, on many GNU platforms, this value will be
210212
empty.
211213

212214
r[cfg.target_abi.values]
@@ -216,8 +218,6 @@ Example values:
216218
* `"llvm"`
217219
* `"eabihf"`
218220
* `"abi64"`
219-
* `"sim"`
220-
* `"macabi"`
221221

222222
r[cfg.target_endian]
223223
### `target_endian`

0 commit comments

Comments
 (0)