@@ -67,9 +67,6 @@ use crate::runtime::Sel;
67
67
///
68
68
/// See [rust-lang/rust#145496] for the tracking issue for the feature.
69
69
///
70
- /// `"unstable-static-sel"` and `"unstable-static-sel-inlined"` take
71
- /// precedence over `"unstable-darwin-objc"`.
72
- ///
73
70
/// [rust-lang/rust#53929]: https://github.com/rust-lang/rust/issues/53929
74
71
/// [rust-lang/rust#145496]: https://github.com/rust-lang/rust/issues/145496
75
72
///
@@ -241,7 +238,7 @@ macro_rules! __sel_data {
241
238
242
239
#[ doc( hidden) ]
243
240
#[ macro_export]
244
- #[ cfg( not( any ( feature = "unstable-darwin-objc" , feature = "unstable- static-sel") ) ) ]
241
+ #[ cfg( not( feature = "unstable-static-sel" ) ) ]
245
242
macro_rules! __sel_inner {
246
243
( $data: expr, $_hash: expr) => { {
247
244
static CACHED_SEL : $crate:: __macros:: CachedSel = $crate:: __macros:: CachedSel :: new( ) ;
@@ -254,10 +251,7 @@ macro_rules! __sel_inner {
254
251
255
252
#[ doc( hidden) ]
256
253
#[ macro_export]
257
- #[ cfg( all(
258
- feature = "unstable-darwin-objc" ,
259
- not( feature = "unstable-static-sel" )
260
- ) ) ]
254
+ #[ cfg( all( feature = "unstable-static-sel" , feature = "unstable-darwin-objc" ) ) ]
261
255
macro_rules! __sel_inner {
262
256
( $data: expr, $_hash: expr) => { {
263
257
let ptr = $crate:: __macros:: core_darwin_objc:: selector!( $data) ;
@@ -353,7 +347,8 @@ macro_rules! __statics_sel {
353
347
#[ macro_export]
354
348
#[ cfg( all(
355
349
feature = "unstable-static-sel" ,
356
- not( feature = "unstable-static-sel-inlined" )
350
+ not( feature = "unstable-darwin-objc" ) ,
351
+ not( feature = "unstable-static-sel-inlined" ) ,
357
352
) ) ]
358
353
macro_rules! __sel_inner {
359
354
( $data: expr, $hash: expr) => { {
@@ -385,7 +380,11 @@ macro_rules! __sel_inner {
385
380
386
381
#[ doc( hidden) ]
387
382
#[ macro_export]
388
- #[ cfg( feature = "unstable-static-sel-inlined" ) ]
383
+ #[ cfg( all(
384
+ feature = "unstable-static-sel" ,
385
+ not( feature = "unstable-darwin-objc" ) ,
386
+ feature = "unstable-static-sel-inlined" ,
387
+ ) ) ]
389
388
macro_rules! __sel_inner {
390
389
( $data: expr, $hash: expr) => { {
391
390
$crate:: __statics_sel! {
0 commit comments