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.
ffi_returns_twice
1 parent b9d44ee commit 04e4c5dCopy full SHA for 04e4c5d
src/attributes.rs
@@ -62,9 +62,6 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
62
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::COLD) {
63
func.add_attribute(FnAttribute::Cold);
64
}
65
- if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::FFI_RETURNS_TWICE) {
66
- func.add_attribute(FnAttribute::ReturnsTwice);
67
- }
68
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::FFI_PURE) {
69
func.add_attribute(FnAttribute::Pure);
70
0 commit comments