Skip to content

Commit 5aa790a

Browse files
compiler: Back out cdecl deprecation
1 parent 2b0274c commit 5aa790a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/rustc_target/src/spec/abi_map.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ impl AbiMap {
9595
return AbiMapping::Invalid;
9696
}
9797

98-
(ExternAbi::Cdecl { .. }, Arch::X86) => CanonAbi::C,
99-
(ExternAbi::Cdecl { .. }, _) => return AbiMapping::Deprecated(CanonAbi::C),
98+
(ExternAbi::Cdecl { .. }, _) => CanonAbi::C,
10099

101100
(ExternAbi::Fastcall { .. }, Arch::X86) => CanonAbi::X86(X86Call::Fastcall),
102101
(ExternAbi::Fastcall { .. }, _) if os == OsKind::Windows => {

0 commit comments

Comments
 (0)