diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2024-01-30 20:55:56 +0000 |
|---|---|---|
| committer | clubby789 <jamie@hill-daniel.co.uk> | 2024-01-30 22:09:09 +0000 |
| commit | 04e4c5ddbc7ab8e60a9481698d97e805b81fa59a (patch) | |
| tree | b8a3647891c04b2d9bd44f14ae0721ef1ae9f113 | |
| parent | b9d44eef7ad1fc21d3c6fed7f0ca5401ae59f5f8 (diff) | |
| download | rust-04e4c5ddbc7ab8e60a9481698d97e805b81fa59a.tar.gz rust-04e4c5ddbc7ab8e60a9481698d97e805b81fa59a.zip | |
Remove `ffi_returns_twice` feature
| -rw-r--r-- | src/attributes.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/attributes.rs b/src/attributes.rs index 9f361d36886..142f86b003d 100644 --- a/src/attributes.rs +++ b/src/attributes.rs @@ -62,9 +62,6 @@ pub fn from_fn_attrs<'gcc, 'tcx>( if codegen_fn_attrs.flags.contains(CodegenFnAttrFlags::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) { func.add_attribute(FnAttribute::Pure); } |
