about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/attributes.rs
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-01-30 20:55:56 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2024-01-30 22:09:09 +0000
commit73313158988c20b57a341502b4099629b6867755 (patch)
tree1b7875fed65da46ca2733b181c52afaade45c9af /compiler/rustc_codegen_gcc/src/attributes.rs
parent5ad7454f7503b6af2800bf4a7c875962cb03f913 (diff)
downloadrust-73313158988c20b57a341502b4099629b6867755.tar.gz
rust-73313158988c20b57a341502b4099629b6867755.zip
Remove `ffi_returns_twice` feature
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/attributes.rs')
-rw-r--r--compiler/rustc_codegen_gcc/src/attributes.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_gcc/src/attributes.rs b/compiler/rustc_codegen_gcc/src/attributes.rs
index 9f361d36886..142f86b003d 100644
--- a/compiler/rustc_codegen_gcc/src/attributes.rs
+++ b/compiler/rustc_codegen_gcc/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);
         }