Skip to content

Commit d8bd0a9

Browse files
committed
Auto merge of rust-lang#97512 - scottmcm:add-coldcc, r=nagisa,lcnr
Add support for emitting functions with `coldcc` to LLVM The eventual goal is to try using this for things like the internal panicking stuff, to see whether it helps.
2 parents ede985e + 4ee48c0 commit d8bd0a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/abi/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ fn clif_sig_from_fn_abi<'tcx>(
2323
) -> Signature {
2424
let call_conv = match fn_abi.conv {
2525
Conv::Rust | Conv::C => default_call_conv,
26+
Conv::RustCold => CallConv::Cold,
2627
Conv::X86_64SysV => CallConv::SystemV,
2728
Conv::X86_64Win64 => CallConv::WindowsFastcall,
2829
Conv::ArmAapcs

0 commit comments

Comments
 (0)