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 e062c2c commit 97a0d35Copy full SHA for 97a0d35
src/attributes.rs
@@ -118,6 +118,9 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
118
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::COLD) {
119
func.add_attribute(FnAttribute::Cold);
120
}
121
+ if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::FFI_RETURNS_TWICE) {
122
+ func.add_attribute(FnAttribute::ReturnsTwice);
123
+ }
124
125
126
let function_features =
0 commit comments