diff options
| author | tiif <pekyuan@gmail.com> | 2025-03-11 16:48:20 +0000 |
|---|---|---|
| committer | tiif <pekyuan@gmail.com> | 2025-03-12 14:38:52 +0000 |
| commit | c8197b77c9dcda42df92944d10e45382b490e504 (patch) | |
| tree | 15690caf20e63c69cde476be92338120d71a4e06 /compiler/rustc_target | |
| parent | 3079213020e518c29046b01b483ea37e949eb27d (diff) | |
| download | rust-c8197b77c9dcda42df92944d10e45382b490e504.tar.gz rust-c8197b77c9dcda42df92944d10e45382b490e504.zip | |
fmt
Diffstat (limited to 'compiler/rustc_target')
| -rw-r--r-- | compiler/rustc_target/src/callconv/mod.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/compiler/rustc_target/src/callconv/mod.rs b/compiler/rustc_target/src/callconv/mod.rs index 8d8270cd8cd..e019dc55950 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, |
