Skip to content

Commit 1536d89

Browse files
authored
Merge pull request #1781 from madsmtm/apple-target-env-abi
Add `target_env = "macabi"` and `target_env = "sim"`
2 parents a7dac0a + 605bf59 commit 1536d89

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
@@ -202,17 +202,19 @@ Example values:
202202
* `"msvc"`
203203
* `"musl"`
204204
* `"sgx"`
205+
* `"sim"`
206+
* `"macabi"`
205207

206208
r[cfg.target_abi]
207209
### `target_abi`
208210

209211
r[cfg.target_abi.general]
210-
Key-value option set to further disambiguate the `target_env` with information
211-
about the target ABI.
212+
Key-value option set to further disambiguate the target with information about
213+
the target ABI.
212214

213215
r[cfg.target_abi.disambiguation]
214216
For historical reasons, this value is only defined as not the empty-string when actually
215-
needed for disambiguation. Thus, for example, on many GNU platforms, this value will be
217+
needed for disambiguation. Thus, for example, on many GNU platforms, this value will be
216218
empty.
217219

218220
r[cfg.target_abi.values]
@@ -222,8 +224,6 @@ Example values:
222224
* `"llvm"`
223225
* `"eabihf"`
224226
* `"abi64"`
225-
* `"sim"`
226-
* `"macabi"`
227227

228228
r[cfg.target_endian]
229229
### `target_endian`

0 commit comments

Comments
 (0)