@@ -750,14 +750,14 @@ impl Pddb {
750
750
} ;
751
751
// this is a two-phase query, because it's quite likely that the number of keys can be very large in a
752
752
// dict.
753
- #[ cfg( feature = "gen1" ) ]
753
+ #[ cfg( any ( feature = "gen1" ) ) ]
754
754
let token = [
755
755
self . trng . get_u32 ( ) . unwrap ( ) ,
756
756
self . trng . get_u32 ( ) . unwrap ( ) ,
757
757
self . trng . get_u32 ( ) . unwrap ( ) ,
758
758
self . trng . get_u32 ( ) . unwrap ( ) ,
759
759
] ;
760
- #[ cfg( feature = "gen2" ) ]
760
+ #[ cfg( any ( feature = "gen2" , feature = "doc-deps" ) ) ]
761
761
let token = xous:: create_server_id ( ) . unwrap ( ) . to_array ( ) ;
762
762
let request = PddbDictRequest {
763
763
basis_specified : basis_name. is_some ( ) ,
@@ -873,7 +873,7 @@ impl Pddb {
873
873
self . trng . get_u32 ( ) . unwrap ( ) ,
874
874
self . trng . get_u32 ( ) . unwrap ( ) ,
875
875
] ;
876
- #[ cfg( feature = "gen2" ) ]
876
+ #[ cfg( any ( feature = "gen2" , feature = "doc-deps" ) ) ]
877
877
let token = xous:: create_server_id ( ) . unwrap ( ) . to_array ( ) ;
878
878
let request = PddbDictRequest {
879
879
basis_specified : basis_name. is_some ( ) ,
0 commit comments