Remove ffi_returns_twice
feature
This commit is contained in:
parent
b9d44eef7a
commit
04e4c5ddbc
1 changed files with 0 additions and 3 deletions
|
@ -62,9 +62,6 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
|
||||||
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::COLD) {
|
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::COLD) {
|
||||||
func.add_attribute(FnAttribute::Cold);
|
func.add_attribute(FnAttribute::Cold);
|
||||||
}
|
}
|
||||||
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::FFI_RETURNS_TWICE) {
|
|
||||||
func.add_attribute(FnAttribute::ReturnsTwice);
|
|
||||||
}
|
|
||||||
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::FFI_PURE) {
|
if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::FFI_PURE) {
|
||||||
func.add_attribute(FnAttribute::Pure);
|
func.add_attribute(FnAttribute::Pure);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue