We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bbee3e commit afc6489Copy full SHA for afc6489
src/attributes.rs
@@ -114,6 +114,10 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
114
if let Some(attr) = inline_attr(cx, inline) {
115
func.add_attribute(attr);
116
}
117
+
118
+ if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::COLD) {
119
+ func.add_attribute(FnAttribute::Cold);
120
+ }
121
122
123
let function_features =
0 commit comments