1
Fork 0

Auto merge of #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.
This commit is contained in:
bors 2022-06-07 08:12:45 +00:00
commit 91cacb3faf
14 changed files with 132 additions and 4 deletions

View file

@ -113,6 +113,14 @@ impl<'a> PostExpansionVisitor<'a> {
"rust-call ABI is subject to change"
);
}
"rust-cold" => {
gate_feature_post!(
&self,
rust_cold_cc,
span,
"rust-cold is experimental and subject to change"
);
}
"ptx-kernel" => {
gate_feature_post!(
&self,