284284 }
285285
286286 #[ cfg_attr(
287- any ( target_env = "uclibc " , target_env = "musl" , target_env = "ohos ") ,
287+ all ( target_os = "l4re " , target_env = "uclibc " ) ,
288288 deprecated(
289289 since = "0.2.187" ,
290290 note = "Use `rlimit` instead. The unsuffixed type is defined as an alias to this type, \
317317 }
318318
319319 #[ cfg_attr(
320- any ( target_env = "uclibc " , target_env = "musl" , target_env = "ohos ") ,
320+ all ( target_os = "l4re " , target_env = "uclibc " ) ,
321321 deprecated(
322322 since = "0.2.187" ,
323323 note = "Use `dirent` instead. The unsuffixed type is defined as an alias to this type, \
@@ -1949,7 +1949,7 @@ cfg_if! {
19491949 if #[ cfg( not( any( target_env = "musl" , target_env = "ohos" ) ) ) ] {
19501950 extern "C" {
19511951 #[ cfg_attr(
1952- target_env = "uclibc" ,
1952+ all ( target_os = "l4re" , target_env = "uclibc" ) ,
19531953 deprecated(
19541954 since = "0.2.187" ,
19551955 note = "Use `freopen` instead. The unsuffixed routine is `#define`d as an \
@@ -1963,7 +1963,7 @@ cfg_if! {
19631963 file: * mut crate :: FILE ,
19641964 ) -> * mut crate :: FILE ;
19651965 #[ cfg_attr(
1966- target_env = "uclibc" ,
1966+ all ( target_os = "l4re" , target_env = "uclibc" ) ,
19671967 deprecated(
19681968 since = "0.2.187" ,
19691969 note = "Use `fseeko` instead. The unsuffixed routine is `#define`d as an alias \
@@ -1973,12 +1973,12 @@ cfg_if! {
19731973 ) ]
19741974 pub fn fseeko64(
19751975 stream: * mut crate :: FILE ,
1976- #[ cfg( not( target_env = "uclibc" ) ) ] offset: crate :: off64_t,
1977- #[ cfg( target_env = "uclibc" ) ] offset: crate :: off_t,
1976+ #[ cfg( not( all ( target_os = "l4re" , target_env = "uclibc" ) ) ) ] offset: crate :: off64_t,
1977+ #[ cfg( all ( target_os = "l4re" , target_env = "uclibc" ) ) ] offset: crate :: off_t,
19781978 whence: c_int,
19791979 ) -> c_int;
19801980 #[ cfg_attr(
1981- target_env = "uclibc" ,
1981+ all ( target_os = "l4re" , target_env = "uclibc" ) ,
19821982 deprecated(
19831983 since = "0.2.187" ,
19841984 note = "Use `fsetpos` instead. The unsuffixed routine is `#define`d as an \
@@ -1987,9 +1987,9 @@ cfg_if! {
19871987 )
19881988 ) ]
19891989 pub fn fsetpos64( stream: * mut crate :: FILE , ptr: * const crate :: fpos64_t) -> c_int;
1990- #[ cfg( not( target_env = "uclibc" ) ) ]
1990+ #[ cfg( not( all ( target_os = "l4re" , target_env = "uclibc" ) ) ) ]
19911991 pub fn ftello64( stream: * mut crate :: FILE ) -> crate :: off64_t;
1992- #[ cfg( target_env = "uclibc" ) ]
1992+ #[ cfg( all ( target_os = "l4re" , target_env = "uclibc" ) ) ]
19931993 #[ deprecated(
19941994 since = "0.2.187" ,
19951995 note = "Use `ftello` instead. The unsuffixed routine is `#define`d as an alias \
0 commit comments