From c8197b77c9dcda42df92944d10e45382b490e504 Mon Sep 17 00:00:00 2001 From: tiif Date: Tue, 11 Mar 2025 16:48:20 +0000 Subject: [PATCH] fmt --- compiler/rustc_target/src/callconv/mod.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/compiler/rustc_target/src/callconv/mod.rs b/compiler/rustc_target/src/callconv/mod.rs index 8d8270cd8cd9..e019dc55950e 100644 --- a/compiler/rustc_target/src/callconv/mod.rs +++ b/compiler/rustc_target/src/callconv/mod.rs @@ -902,14 +902,14 @@ fn conv_to_externabi(conv: &Conv) -> ExternAbi { match conv { Conv::Rust => ExternAbi::Rust, Conv::PreserveMost => ExternAbi::RustCold, - Conv::X86Stdcall => ExternAbi::Stdcall{unwind: false}, - Conv::X86Fastcall => ExternAbi::Fastcall{unwind: false}, - Conv::X86VectorCall => ExternAbi::Vectorcall{unwind: false}, - Conv::X86ThisCall => ExternAbi::Thiscall{unwind: false}, - Conv::C => ExternAbi::C{unwind: false}, - Conv::X86_64Win64 => ExternAbi::Win64{unwind: false}, - Conv::X86_64SysV => ExternAbi::SysV64{unwind: false}, - Conv::ArmAapcs => ExternAbi::Aapcs{unwind: false}, + Conv::X86Stdcall => ExternAbi::Stdcall { unwind: false }, + Conv::X86Fastcall => ExternAbi::Fastcall { unwind: false }, + Conv::X86VectorCall => ExternAbi::Vectorcall { unwind: false }, + Conv::X86ThisCall => ExternAbi::Thiscall { unwind: false }, + Conv::C => ExternAbi::C { unwind: false }, + Conv::X86_64Win64 => ExternAbi::Win64 { unwind: false }, + Conv::X86_64SysV => ExternAbi::SysV64 { unwind: false }, + Conv::ArmAapcs => ExternAbi::Aapcs { unwind: false }, Conv::CCmseNonSecureCall => ExternAbi::CCmseNonSecureCall, Conv::CCmseNonSecureEntry => ExternAbi::CCmseNonSecureEntry, Conv::PtxKernel => ExternAbi::PtxKernel,