Skip to content

Commit c8197b7

Browse files
committed
fmt
1 parent 3079213 commit c8197b7

File tree

1 file changed

+8
-8
lines changed
  • compiler/rustc_target/src/callconv

1 file changed

+8
-8
lines changed

compiler/rustc_target/src/callconv/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -902,14 +902,14 @@ fn conv_to_externabi(conv: &Conv) -> ExternAbi {
902902
match conv {
903903
Conv::Rust => ExternAbi::Rust,
904904
Conv::PreserveMost => ExternAbi::RustCold,
905-
Conv::X86Stdcall => ExternAbi::Stdcall{unwind: false},
906-
Conv::X86Fastcall => ExternAbi::Fastcall{unwind: false},
907-
Conv::X86VectorCall => ExternAbi::Vectorcall{unwind: false},
908-
Conv::X86ThisCall => ExternAbi::Thiscall{unwind: false},
909-
Conv::C => ExternAbi::C{unwind: false},
910-
Conv::X86_64Win64 => ExternAbi::Win64{unwind: false},
911-
Conv::X86_64SysV => ExternAbi::SysV64{unwind: false},
912-
Conv::ArmAapcs => ExternAbi::Aapcs{unwind: false},
905+
Conv::X86Stdcall => ExternAbi::Stdcall { unwind: false },
906+
Conv::X86Fastcall => ExternAbi::Fastcall { unwind: false },
907+
Conv::X86VectorCall => ExternAbi::Vectorcall { unwind: false },
908+
Conv::X86ThisCall => ExternAbi::Thiscall { unwind: false },
909+
Conv::C => ExternAbi::C { unwind: false },
910+
Conv::X86_64Win64 => ExternAbi::Win64 { unwind: false },
911+
Conv::X86_64SysV => ExternAbi::SysV64 { unwind: false },
912+
Conv::ArmAapcs => ExternAbi::Aapcs { unwind: false },
913913
Conv::CCmseNonSecureCall => ExternAbi::CCmseNonSecureCall,
914914
Conv::CCmseNonSecureEntry => ExternAbi::CCmseNonSecureEntry,
915915
Conv::PtxKernel => ExternAbi::PtxKernel,

0 commit comments

Comments
 (0)