@@ -290,6 +290,9 @@ declare_features! (
290290 // The `repr(i128)` annotation for enums.
291291 ( active, repr128, "1.16.0" , Some ( 35118 ) , None ) ,
292292
293+ // Allows the use of `#[ffi_returns_twice]` on extern functions.
294+ ( active, ffi_returns_twice, "1.34.0" , Some ( 58314 ) , None ) ,
295+
293296 // The `unadjusted` ABI; perma-unstable.
294297 //
295298 // rustc internal
@@ -1124,6 +1127,11 @@ pub const BUILTIN_ATTRIBUTES: &[(&str, AttributeType, AttributeTemplate, Attribu
11241127 "the `#[naked]` attribute \
11251128 is an experimental feature",
11261129 cfg_fn ! ( naked_functions) ) ) ,
1130+ ( "ffi_returns_twice" , Whitelisted , template ! ( Word ) , Gated ( Stability :: Unstable ,
1131+ "ffi_returns_twice" ,
1132+ "the `#[ffi_returns_twice]` attribute \
1133+ is an experimental feature",
1134+ cfg_fn ! ( ffi_returns_twice) ) ) ,
11271135 ( "target_feature" , Whitelisted , template ! ( List : r#"enable = "name""# ) , Ungated ) ,
11281136 ( "export_name" , Whitelisted , template ! ( NameValueStr : "name" ) , Ungated ) ,
11291137 ( "inline" , Whitelisted , template ! ( Word , List : "always|never" ) , Ungated ) ,
0 commit comments