@@ -130,30 +130,38 @@ r[items.extern.abi.platform]
130130There are also some platform-specific ABI strings:
131131
132132r[ items.extern.abi.cdecl]
133- * ` unsafe extern "cdecl" ` -- The default for x86\_ 32 C code.
133+ * ` unsafe extern "cdecl" ` -- The default for x86_32 C code.
134+ * Only available on x86_32 targets.
134135
135136r[ items.extern.abi.stdcall]
136- * ` unsafe extern "stdcall" ` -- The default for the Win32 API on x86\_ 32.
137+ * ` unsafe extern "stdcall" ` -- The default for the Win32 API on x86_32.
138+ * Only available on x86_32 targets.
137139
138140r[ items.extern.abi.win64]
139- * ` unsafe extern "win64" ` -- The default for C code on x86\_ 64 Windows.
141+ * ` unsafe extern "win64" ` -- The default for C code on x86_64 Windows.
142+ * Only available on x86_64 targets.
140143
141144r[ items.extern.abi.sysv64]
142- * ` unsafe extern "sysv64" ` -- The default for C code on non-Windows x86\_ 64.
145+ * ` unsafe extern "sysv64" ` -- The default for C code on non-Windows x86_64.
146+ * Only available on x86_64 targets.
143147
144148r[ items.extern.abi.aapcs]
145149* ` unsafe extern "aapcs" ` -- The default for ARM.
150+ * Only available on ARM32 targets.
146151
147152r[ items.extern.abi.fastcall]
148153* ` unsafe extern "fastcall" ` -- The ` fastcall ` ABI -- corresponds to MSVC's
149- ` __fastcall ` and GCC and clang's ` __attribute__((fastcall)) `
154+ ` __fastcall ` and GCC and clang's ` __attribute__((fastcall)) ` .
155+ * Only available on x86_32 targets.
150156
151157r[ items.extern.abi.thiscall]
152- * ` unsafe extern "thiscall" ` -- The default for C++ member functions on x86\_ 32 MSVC -- corresponds to MSVC's
153- ` __thiscall ` and GCC and clang's ` __attribute__((thiscall)) `
158+ * ` unsafe extern "thiscall" ` -- The default for C++ member functions on x86_32 MSVC -- corresponds to MSVC's
159+ ` __thiscall ` and GCC and clang's ` __attribute__((thiscall)) ` .
160+ * Only available on x86_32 targets.
154161
155162r[ items.extern.abi.efiapi]
156163* ` unsafe extern "efiapi" ` -- The ABI used for [ UEFI] functions.
164+ * Only available on x86 and ARM targets (32bit and 64bit).
157165
158166r[ items.extern.abi.platform-unwind-variants]
159167Like ` "C" ` and ` "system" ` , most platform-specific ABI strings also have a [ corresponding ` -unwind ` variant] [ unwind-behavior ] ; specifically, these are:
0 commit comments