@@ -148,10 +148,9 @@ pub fn is_enabled(
148
148
pub fn is_stable(name: &str) -> Result<(), AbiDisabled> {
149
149
match name {
150
150
// Stable
151
- "Rust" | "C" | "cdecl" | "stdcall" | "fastcall" | "aapcs" | "win64" | "sysv64"
152
- | "system" | "efiapi" | "C-unwind" | "cdecl-unwind" | "stdcall-unwind"
153
- | "fastcall-unwind" | "aapcs-unwind" | "win64-unwind" | "sysv64-unwind"
154
- | "system-unwind" => Ok(()),
151
+ "Rust" | "C" | "C-unwind" | "cdecl" | "cdecl-unwind" | "stdcall" | "stdcall-unwind"
152
+ | "fastcall" | "fastcall-unwind" | "aapcs" | "aapcs-unwind" | "win64" | "win64-unwind"
153
+ | "sysv64" | "sysv64-unwind" | "system" | "system-unwind" | "efiapi" => Ok(()),
155
154
"rust-intrinsic" => Err(AbiDisabled::Unstable {
156
155
feature: sym::intrinsics,
157
156
explain: "intrinsics are subject to change",
@@ -164,10 +163,18 @@ pub fn is_stable(name: &str) -> Result<(), AbiDisabled> {
164
163
feature: sym::abi_vectorcall,
165
164
explain: "vectorcall is experimental and subject to change",
166
165
}),
166
+ "vectorcall-unwind" => Err(AbiDisabled::Unstable {
167
+ feature: sym::abi_vectorcall,
168
+ explain: "vectorcall-unwind ABI is experimental and subject to change",
169
+ }),
167
170
"thiscall" => Err(AbiDisabled::Unstable {
168
171
feature: sym::abi_thiscall,
169
172
explain: "thiscall is experimental and subject to change",
170
173
}),
174
+ "thiscall-unwind" => Err(AbiDisabled::Unstable {
175
+ feature: sym::abi_thiscall,
176
+ explain: "thiscall-unwind ABI is experimental and subject to change",
177
+ }),
171
178
"rust-call" => Err(AbiDisabled::Unstable {
172
179
feature: sym::unboxed_closures,
173
180
explain: "rust-call ABI is subject to change",
@@ -204,14 +211,6 @@ pub fn is_stable(name: &str) -> Result<(), AbiDisabled> {
204
211
feature: sym::abi_c_cmse_nonsecure_call,
205
212
explain: "C-cmse-nonsecure-call ABI is experimental and subject to change",
206
213
}),
207
- "thiscall-unwind" => Err(AbiDisabled::Unstable {
208
- feature: sym::abi_thiscall,
209
- explain: "thiscall-unwind ABI is experimental and subject to change",
210
- }),
211
- "vectorcall-unwind" => Err(AbiDisabled::Unstable {
212
- feature: sym::abi_vectorcall,
213
- explain: "vectorcall-unwind ABI is experimental and subject to change",
214
- }),
215
214
"wasm" => Err(AbiDisabled::Unstable {
216
215
feature: sym::wasm_abi,
217
216
explain: "wasm ABI is experimental and subject to change",
0 commit comments