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.
1 parent 70fc73a commit a529079Copy full SHA for a529079
src/conditional-compilation.md
@@ -191,6 +191,23 @@ Example values:
191
* `"pc"`
192
* `"unknown"`
193
194
+### `target_has_atomic`
195
+
196
+Key-value option set for each bit width that the target supports
197
+atomic loads, stores, and compare-and-swap operations.
198
199
+Notably, this does not mean that the alignment of atomics matches that of equal
200
+bit width integers.
201
202
+Possible values:
203
204
+* `"8"`
205
+* `"16"`
206
+* `"32"`
207
+* `"64"`
208
+* `"128"`
209
+* `"ptr"`
210
211
### `test`
212
213
Enabled when compiling the test harness. Done with `rustc` by using the
0 commit comments